Question on coalescing connections -RabbitMQ


#1

Hello,

I have some PHP scripts that run a ton and connect up to a RabbitMQ backend, send some data to it and then disconnect.

It turns out that the connecting and disconnecting part a lot causes an increase in CPU load on the RabbitMQ server.

Can HAProxy be used at all to help? I am thinking if it could hold open some persistent connections to the RabbitMQ server that HAProxy might be more efficient at the connect/disconnect bit?


#2

No, that would only work if the protocol is HTTP, but I assume that is not the case?


#3

Correct. It is not HTTP