Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.2
-
None
Description
I wanted to throw this out if any other folks experience this later on. At Digg we've been using the BufferedTransport + C extension of Thrift in PHP. Every so often, we will see spikes in latency increases on RPC calls that we know have acceptable response times (<200ms). This seems to happen based on how much data is being sent back over the wire. This is more of a PHP problem, but can be corrected in Thrift's PHP library for folks who don't want to upgrade PHP. I am still waiting to see if it's corrected in later versions (we use 5.2.9).
http://bonsai.php.net/bug.php?id=42720
Replacing the fread statements in TSocket.php with stream_socket_recvfrom correct this behavior so that calls do not wait until they hit the recv timeout.
Attachments
Attachments
Issue Links
- blocks
-
THRIFT-788 thrift_protocol.so: multiget/multiget_slice does not handle more than 17 keys correctly
- Closed
- supercedes
-
THRIFT-347 PHP TSocket Timeout Issues
- Closed