libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] performance (again)


From: Taehwan Weon
Subject: [libmicrohttpd] performance (again)
Date: Sat, 1 Jun 2013 14:31:09 +0900

Hi,

Thanks for your kindful comment.

My test (stress) environment was
     - tool : tsung (with about 5 linux boxes to generate load)
     - concurrent usrers: 10,000 GET operations (target url objects are 1,000 10KBs)


The reason why I use the completion callback was to make access log compatible with apache format.
In libmicrohttpd manual, I could not find a proper API. 
In normal operation, I used MHD_create_response_from_callback(). 
Although I can add my completion callback to it, some responses had to be made from MHD_create_response_from_buffer().
In these cases, I could not add my completion callback to it.
That's why I used the MHD completion callback.

After a little optimization, my caching proxy can handle up to 10,000~20,000 GETs/sec (without keep-alive) in 2 xeon CPU (8 cores)
In the next phase, I'm going to measure elapsed times in the connection handling of libmicrohttpd.
If you have any comments, I will be highly appreciate for that.


-------
weon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]