By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,907 Members | 2,039 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,907 IT Pros & Developers. It's quick & easy.

benchmarking with threading module

P: n/a
Hi, I'd like to know if it is possible to use the threading module to
benchmark a web server.
I'd like to write a python script which connect to a web server asking
for a page (like a php page querying a mysql db).
The script should launch many different queries to the web page at the
same time.
The plotting the time VS number of queries I'd like to understand which
would be the critical number of simultaneous connection to the web
server.
Do you think that using the Threading module would be a good idea?
Any other suggestion?
Thank you very much

Matteo Memelli

Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Matteo Memelli wrote:
Hi, I'd like to know if it is possible to use the threading module to
benchmark a web server.
Do you think that using the Threading module would be a good idea?
Any other suggestion?


This sounds like a good time to use Twisted instead of "threading".

-Peter
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.