[Libevent-users] http: libevent vs many threads

Cezary Rzewuski C.Rzewuski at elka.pw.edu.pl
Wed Apr 2 16:15:59 EDT 2008


Hi,
I'd like to ask if sending http requests with libevent is carried out in 
separate thread or is the library
single-threaded? I want to use the library in a program which will visit 
many URL and download
it's content. Is it good idea to use libevent or the classic solution 
with creating a separate thread per URL
request will be much more efficient solution?

I saw that libevent was used in spybye, which is kind of similar what I 
want to do. I was wondering
if spybye were more efficient with requests served in separate threads 
instead of using libevent
(I don't say that it's not efficient, just theoretically).

Kind regards,
Cezary


More information about the Libevent-users mailing list