I need to create a service that will send forex prices to thousands of connected clients. I'm thinking that i can use rabbitmq fanout exchange for this and clients can subscribe to the instruments they are interested in. My question is, would it be safe to have a client application connect directly to rabbitmq? or is it a better decision to manage the connection to rabbitmq from a custom tcpserver application and have clients connect through my tcpserver?
views:
33answers:
1
+1
A:
Unless you have a very specific reason (for instance, you want a load balancer in front of a RabbitMQ cluster), there's no reason to (reverse) proxy RabbitMQ.
In addition, trying to manage the connection through am application would raise quite a few problems. For instance, 2.0.0 uses TCP back-pressure in order to throttle clients; you'd have to handle this somehow.
scvalex
2010-09-06 08:42:12
But would there be any security implications to exposing rabbitmq like that?
Jerome
2010-09-06 15:56:57
RabbitMQ itself is fairly secure. It does provide a password-based login system. On top of that, you can use SSL to ensure the identity of the clients and to encrypt the connection.
scvalex
2010-09-06 17:12:34