nsweeting
GenQueue - adapter based job queues
Hi folks,
For anyone that might find it useful - I recently released GenQueue. An adapter based approach to queues/job queues.
I sometimes find myself writing wrappers for the various forms of job enqueuing within my applications to ensure it is not tied to a specific library/platform. This can typically mean 2 types of wrappers:
- Some form of “durable jobs” (backed by Redis, RabbitMQ, etc)
- Some form of “simple jobs” (somewhere between a Task, and the above)
Anyways - GenQueue helps solve this with a a few lines of code. It creates a common API as well as a unified form of testing.
Hope some can find it useful.
Current adapters:
- GenQueue Exq - Redis-backed job queue.
- GenQueue TaskBunny - RabbitMQ-backed job queue.
- GenQueue Toniq - Redis-backed job queue.
- GenQueue Verk - Redis-backed job queue.
- GenQueue OPQ - GenStage-based job queue.
Most Liked Responses
halostatue
I just wanted to thank you for this; we’ve just implemented it with a wrapper around OPQ in order to implement a stable supervision tree for OPQ and its workers. Aside from figuring a few things out related to how jobs are implemented vs raw OPQ, GenQueue was super simple to get running.
Popular in Announcing
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








