Hacker News new | ask | show | jobs
by anonu 2280 days ago
Curious to hear anyone's experience with RPC over Nameko in Python. We use it extensively on top of RabbitMQ and its been pretty robust.
2 comments

RPC over Rabbit can work (and does) but you do have to remember that it in the end it is a queue and a couple of bad messages can stop your entire system.

RPC over Rabbit is fine if you don't care about the result, or you can guarantee that each message gets processed in a short constant time.

I have a similar implementation of RPC over AMQP in Node.js and 2 things i'd advise. (Similar to my sibling poster)

1) Don't requeue on error. One bad message could bring down your entire service. Better to just push it to Sentry and make a fix for it.

2) Have a timeout in your message handler.