Imagine an scenario where an queue needs to be consumed and each element must pass through a pipeline which the result may go to a different bucket. Each bucket must work independently making sure all elements are correctly processed and flushed whenever is possible.
Orchestrating many consumers/producers at the same time can be challenging, specially when the operation depends on third party services which have different constraints. With that in mind we are going to show an use case of how we achieved the parallelism necessary to smoothly work with thousands of clients simultaneously. We'll see how things like GenStage and GenServer can take all the heavy lifting, letting us focus on the business logic.
Jusabe is a Software Engineer who recently discovered Elixir and became passionated about it at the first sight. On his current work he uses mainly Ruby and Elixir to provide solutions for customer's needs. He is type of person that likes to know how things work instead of just using it. After some years consuming content from the community, he decided to start giving back by going out and producing Elixir content(even being a newbie). You can find some blog posts at medium.com/@dojusa.