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.

Last Post!

Essstp

Essstp

Congrats on the new baby. We have a 5 month old in my house too!
I’ll send you an email about a catch up.

Where Next?

Popular in Questions Top

nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
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 records...
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
Emily
I have VueJS GUIs with the project generated using Webpack. I have Elixir modules that will need to be used by the VueJS GUIs. I forese...
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
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New

Other popular topics Top

Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New

We're in Beta

About us Mission Statement