3 ms·
Thanks for this, probably enough to get started. The plan was to create a Rack-compatible injection point that uses ZMQ instead of HTTP which could be used wit
by kondro 12y ago
Thanks for this, probably enough to get started.
The plan was to create a Rack-compatible injection point that uses ZMQ instead of HTTP which could be used with any of the standard Ruby frameworks, rather than getting too bare-bones.
I'm not sure whether there are any real wins here though.
Although my real use case is to take queries from Pushpin and put them directly into a persistent queue for processing by workers before them pushing the responses directly back at Pushpin so that we can do a zero-downtime deploy, even if the workers are down for up to 55 seconds (with long-polling).
- rurounijones 12y agohttps://github.com/rack-amqp https://github.com/rack-amqp 's Jackalope might be of interest to you. It uses AMPQ rather than ZMQ though.
- kondro 12y agoLooks interesting. May be a good starting point, although it's ultimately Pushpin that makes this model interesting to me.