[rabbitmq-discuss] Chat backend with chatrooms, design/performance question

Michael Klishin mklishin at gopivotal.com
Sat Aug 3 14:22:20 BST 2013


Mathias Stjernström escribió:
> 2. We use one Fanout Exchange per room
> 
> Anyone have ideas/thoughts of which would be better in a
> performance/scalabillity point of view? 

1 fanout exchange per room, and one server-named queue per chat
participant. Then extremely busy rooms will have less effect on other rooms.

Exchange-to-Exchange bindings offer another alternative but it's hard to
predict how it's going to perform and it's more complicated conceptually.

And, like with any performance considerations, I highly recommend
you to benchmark both approaches and see what the data says.
-- 
MK


More information about the rabbitmq-discuss mailing list