Skip to content

Comment on How far can you go without a message queue?parent

Comments

I'm not the op, but in my little app that uses rabbitmq, you have to never assume timely delivery and processing of messages.

I use redis to keep a store of last updated timestamp property (that is, the last time the data was updated), and I essentially throw out a message if the timestamp is older.

For any writing changes I make I have a validation loop in the code path as a secondary validation.

I think once you get used to been defense about incoming messages you can handle most delays

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.