[rabbitmq-discuss] Continuous connection between consumer and producer
mklishin at gopivotal.com
Thu Apr 10 13:49:01 BST 2014
On 10 April 2014 at 16:31:38, Ravi Pandey (ravindrapandey1982 at gmail.com) wrote:
> > I want connection between consumer and producer to be open.
> My requirement is to send messages to producer, so my assumption
> is that if connection between them is open forever then I can send
> messages through that open connection :)
Perhaps we should reiterate.
* There is *no* direct connection from producer to consumer. Both connect to RabbitMQ.
* PHP’s request model makes it at least challenging to keep long-lived connections
* Consumers which do not run as part of the Web server can and should use long lived connections
Software Engineer, Pivotal/RabbitMQ
More information about the rabbitmq-discuss