queue worker design

Newbie here, I am trying to offload some work from my rails app. I am designing a background processing solution that delivers messages. A want a set a worker daemons that keep looking at redis queues ‘chat’, ‘email’, etc, and as soon as they see a message they take that message and send a chat message, or email, etc. These are single function workers that should recover after failure. How can I go about designing this in elixir? What could be a decent design?

1 Like