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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: gasper at kozak dot si
New email:
PHP Version: OS:

 

 [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: Thu Apr 25 03:01:29 2024 UTC