curl-and-python
Pycurl and the curl_multi_socket_action API
Date: Thu, 5 Apr 2012 12:23:50 +0200
Hi everybody,
I'm trying to simulate realistic web traffic to benchmark one of our
products (a network controller).
Performance is very important since we're targeting to simulate 10 000
simultaneous "browsing sessions".
I've read Daniel's blog post about curl's performance :
http://daniel.haxx.se/blog/2010/08/03/curl-performance/
He states that it is necessary to avoid select and poll as they are slow
and he advises to rely on the curl_multi_socket_action API combined with an
event library.
I think that the C example given in
http://curl.haxx.se/libcurl/c/hiperfifo.html is the closest thing to what
I'm trying to achieve here.
Does anyone know about a similar example based on PycURL instead ?
Thanks in advance !
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2012-04-05