Essstp

Essstp

Receiving & processing events via incoming Webhooks

I’m an Elixir developer (relatively new) from Australia and I am loving it :smile:

I’m working on a SaaS startup which is an industry-specific / niche Learning Management System (LMS). Courses will be launched and played externally (by multiple 3 party solutions) before returning to my system. However, I need to retrieve and process course progress events (course started, course module completed, course completed etc.) for all courses / students on my platform, from the 3rd party services (whilst course are in progress). If the startup is successful, this will end up being a lot of events coming in via webhooks, all the time!

I realise the default answer is probably something along the lines of this: Webhook Service @ PagerDuty

But I am wondering if we should looking at utilising Amazon SQS (our app is already hosted in AWS) with the new Broadway library? I am a little confused about which of GenStage, Flow and Broadway would best fit my use case. Appreciate any thoughts/advice on this. Thanks!

Most Liked

Essstp

Essstp

Wow…I am in Coffs Harbour too!
I thought there were only two Elixir devs in town (me and another guy I know).
Now that there is three of us, we’re going to have to start up our own regional NSW meetup group. Haha.
We should catch up one day…

Thanks for the feedback on my question.

sanswork

sanswork

Where in Australia are you based? I’m up in Coffs harbour area but will be at the Melbourne meetup on the 21st if you’re down that way.

The work load on each hook sounds pretty low so personally I’d just process them in a normal phoenix request flow and plan to scale horizontally at that point. That should get you really far and is easy to scale horizontally.

Where Next?

Popular in Questions Top

sergio
In Ruby, I can go: User.find_by(email: "foobar@email.com").update(email: "hello@email.com") How can I do something similar in Elixir? ...
New
Tee
can someone please explain to me how Enum.reduce works with maps
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
dokuzbir
Hello, I am trying to convert my lists to string without losing brackets.For start i have 3 map. They look like these buyer = %{ id: ...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
johnnyicon
Hi all, I've just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage. I'm trying to use Postg...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
Exadra37
Sometimes I want to check if the input into a function is not a blank string. My first approach: defmodule Example do def do_stuff(s...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
Fl4m3Ph03n1x
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: ) Hello all, this is ...
New

Other popular topics Top

Qqwy
Update: How to use the Blogs & Podcasts section You can post links to your blog posts or podcasts either in one of the Official Blog...
3268 119930 1237
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 record...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
polypush135
As many of you may have realized by now (sorry for all the posts here) I’ve been working on a db problem where I’m trying to aggregate a ...
New
script
If I have a string “1000 cfu/ml” . I want to remove the characters and / and space . So the string is like this "1000" What is the ...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
qwerescape
Is there a way to get the call stack or stack trace at any point in the code? Not from exceptions, but an expression that returns how the...
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 42633 214
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New

We're in Beta

About us Mission Statement