when to introduce a message queue for inter-service communication? dont really have a super clear answer but maybe think about it when your services start to get complex. its kinda like wanting to split up your chores, you know? if youve got a lot going on, and things are getting messy, a message queue can help keep it all organized. but if its just you and one other person, maybe its overkill.
Cai Lindholm
·16843 views
Hey folks, I'm wondering if it's time to add a message queue, maybe something like Kafka or RabbitMQ, to our setup. Right now, services call each other directly, synchronously. But as we grow, I'm worried about services becoming too tightly linked and one failure causing a chain reaction. The downside, of course, is that queues make things more complicated to run and add delay. So, what are your usual signs that tell you it's time to switch from direct calls to async messaging? Do you watch for certain patterns or metrics
27 comments