Hacker News new | ask | show | jobs
by richthegeek 3238 days ago
We just wrote something similar, using RabbitMQ (https://github.com/richthegeek/beatrix) as the main manager for things.

Seems like retries and delays are not part of this, but I guess they are added easily enough to the individual queue system used. Any desire to build them into it? Retries should be easy enough if you're happy to modify the bodies, although delays are not so easy (we're using the 'delayed message exchange' plugin for Rabbit to do this currently).

Maybe some built-in/example queue integrations (Rabbit, Redis, etc)?

Also, it's not super clear to me how you might host the SMS/Push/email/whatever provider on a different process/system to the publisher?

But it looks lovely and clean! Major props!

1 comments

Very nice, queue integration examples are one of my next steps. I didn't include the queue inside the lib to give the choice to users, but I intended to write a few ones. Would you want code one? About the consumer, it's running on the same instance than the producer for more simplicity (but you can always run instances that only do consumer job).