Hi,

I'm curious about writing an C10K webserver (with additional functionality).
I have used libmicrohttpd [1] which uses one thread per client /or/ internal
select, but not both. I'm not deep into the sources of libmicrohttpd but it
seams as threads are created and dropped as long as they are needed and not
preserved for further use (at least the amount of threads variies havely
over time). And at about 1500 simultanious connections the server slows
noticeable down (without increased cpu load).

Now I'm thinking about changing to libevent. I saw you already have an http
server implementation which is like exactly what I need. But as Steven Grimm
tells [2] it's pain in the ass to get libevent running with multiple worker
threads (which is one of the main requirements because the software is
supposed to run on a multi-cpu which multi-core each server).

Would you suggest me using libevent + evnhttpd or something else?


Looking forward to hearing from you
Peter


[1] http://www.gnu.org/software/libmicrohttpd/
[2] http://monkeymail.org/archives/libevent-users/2007-January/000450.html
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to