php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #59836 support for persistent connections
Submitted: 2011-06-29 07:50 UTC Modified: 2011-10-26 01:39 UTC
From: gasper at kozak dot si Assigned: pdezwart (profile)
Status: Closed Package: amqp (PECL)
PHP Version: 5.3.6 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
41 + 38 = ?
Subscribe to this entry?

 
 [2011-06-29 07:50 UTC] gasper at kozak dot si
Description:
------------
We're using AMQP on a high-through put system, and it seems 
that the establishing of a TCP connection is sometimes 
problematic; takes a LOT of time since I/O on the server is 
under stress. The RabbitMQ server is idle, but the connection 
(the actual connect() call) can take up to 20-30 seconds.

We've had these problems with MySQL, Memcache and some other 
TCP-based services, but always resolved them with persistent 
connections. Is there a possibility to implement those in 
this extension?


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-07-07 15:40 UTC] pdezwart at gmail dot com
Hey Gasper,

This is being added to our roadmap. We hope to have it done soon, but I cannot unfortunately make any promises as to when that is exactly.

Thanks for the request.
 [2011-10-26 01:39 UTC] pdezwart@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: pdezwart
 [2011-10-26 01:39 UTC] pdezwart@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

This has been added to trunk at r318415 and will be part of the coming 1.0 release. (should be ready in a few weeks).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 03:01:28 2024 UTC