From: Kevin Schroeder
A ping isn't a good measurement to use. It represents one packet
whereas a TCP connection requires at least 3 for the handshake.

Thanks for the tip.

I got 343ms from the first SYN to the last ACK before the response
started.

That seems like a better measurement of network latency.

PHP, by default, uses an output buffer so it will not send any packets
to the client until the request has finished executing, or the output
buffer has flushed.

Okay, but the same applies to the ILE interface that I use.

If I measure the time from last ACK to the first response packet
I get 258ms.

If you're using a network sniffer, you might be just getting an ATK error message, rather than actually testing the application.

I was measuring with Google Chrome, and Fiddler, and seeing actual results - if that makes a difference.

In order for this to be a proper apples-apples comparison ...

I understand that the comparison is rough. I'm just trying to get a basic feel for how the ATK framework might be affecting performance - not to impune php.

-Nathan.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.