Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: