joshuamckenty / smshelp

Platform for agent-based q&a (#rhok)
http://rhok.org
10 stars 2 forks source link

Use a real queue, not pubsub, for interprocess comm. #5

Open joshuamckenty opened 14 years ago

joshuamckenty commented 14 years ago

We need a real persistent queue between our processes, I'm going to put RabbitMQ back in. (If the python component isn't running, outbound messages are currently lost - rather than being queued).

Alternative to fixing the node.js library, is to simply write to a redis list / sorted set, and poll for contents.

sixcircuit commented 14 years ago

I dig rabbit conceptually. It seems cleaner to me. I also have a deep-seated aversion to polling. That said, if it's a bunch of work, we can just go the redis way for now. Either way we should abstract the IPC and data access.