[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libmicrohttpd] [PATCH] Added support for TCP NODELAY
From: |
Evgeny Grin |
Subject: |
Re: [libmicrohttpd] [PATCH] Added support for TCP NODELAY |
Date: |
Fri, 04 Dec 2015 14:36:53 +0300 |
Did test it using MinGW-w64 and VS builds. Windows machine was used as server, FreeBSD, Solaris and Linux machines - as clients.
doc/examples/hellobrowser was used as test server program.
Got delays 1-2 ms or even less than 1 ms.
I suggest you to use some binary tool to measure so small delay. Any java-based or script-based tools, like Postman, can't precisely measure small time intervals because of scripting-languages nature.
I used FireFox, but you can you Chrome which is not so convenient on visualizing network delays but still enough precise.
You have nothing special to do with builds - everything happens automatically. :)
--
Best Wishes,
Evgeny Grin
03.12.2015, 21:34, "silvioprog" <address@hidden>:
You did an excelent job. I compiled it with the latest mingw-w64 release and now MHD latency is very low, about 25ms. Are you using the TCP_NODELAY? If so, is there some define to enable it in my CMake file? The only note is that using it I could get a latency about 5ms. Yes, 25ms is very good, but 5ms is even better. :-)
On Thu, Dec 3, 2015 at 12:12 PM, Evgeny Grin
<address@hidden> wrote:
We'll release it after small polishing.
--