Lee Leahu:
>I am trying to write a simple threaded application which will simulate 1000 
>connections to a remote service in order to "stress test" that the remote 
>service can handle that many connections.
[...]
>Is there a way to accomplish what I am trying to do, perhaps in a more 
>memory-friendly way?

Yes. You don't need one thread per connection:
http://docs.python.org/lib/module-asyncore.html

-- 
René Pijlman
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to