The scenario I am working with is that I have a node.js engine which is receiving web-hook and pubsubhubhub queries from various services. It needs to send the incoming data to Rails for processing and storage.
I'm debating whether to use HTTP callbacks for this on the Rails side, or possibly using Redis Pubsub.
The question is: how do you get Rails to subscribe and listen to Redis? In the examples for Juggernaut, they have it implemented as a loop, but if I put a subscribe loop in a library and initialize it on application load, it blocks the loading.