Menu
Back to Discussions

message queues: fanout versus point-to-point for real-time notifications?

Banu Yerzhanova
Banu Yerzhanova
·5182 views
hey all, im working on a system that needs to push real-time updates to a large number of users at the same time, kinda like a live feed or alerts. im trying to figure out if a fanout exchange (like RabbitMQ's direct or topic exchanges broadcasting to lots of queues) or multiple point-to-point queues (one for each subscriber or group) would be better and scale further. Fanout looks simpler to start with, but im worried about slowdowns if one consumer is lagging. Point-to-point gives more isolation but makes managing subscriptions and routing way more complicated. What do you guys think, or what have you seen work? when would you pick one over the other for systems that need to handle a lot of data fast, in real time?
22 comments

Comments

Loading comments...