>  I'm doing this test from HTTPMethod and propably the problem is in 
>  THTTPsend class.
> 
>  This problem is only when I'm doing subsequent requests.
>  When the KeepAlive := false the speed requests are OK.

Probably it is "200ms delay" syndrome. Most often TCP performance 
problem. I found it nearly everytime when I am hired for repair of some 
slow TCP/IP program. ;-)

For more information see: http://support.microsoft.com/kb/214397

Are you using actual Synapse version? I made optimalizations agains this 
syndrome in THttpSend few versions ago. However server side must be 
optimised too!

In your case it can be server what sending a chunked reply with a few 
small chunks. It can cause this syndrome. Disable a chunked reply on the 
server will be best solution. Worst solution is to disable NAGLE or 
disable send buffer on the server socket. It is worst, because it can 
decrease performance in some different cases. Made a good communication 
strategy in a program is allways best solution.

--
Lukas Gebauer.

http://synapse.ararat.cz/ - Synapse Delphi and Kylix TCP/IP Library
http://geoget.ararat.cz/ - Geocaching solution



------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to