Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #80812
| Date | 2014-11-15 17:29 +1100 |
|---|---|
| From | Cameron Simpson <cs@zip.com.au> |
| Subject | Re: Efficient Threading |
| References | <CABcP1UeoZ2JHcFsMMtKWY3WfEEH5mSGup4i5=KCzzUKga9bKMw@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.15846.1416032993.18130.python-list@python.org> (permalink) |
On 14Nov2014 18:42, Empty Account <emptya45@gmail.com> wrote: >I am thinking about writing a load test tool in Python, so I am interested >in how I can create the most concurrent threads/processes with the fewest >OS resources. I would imagine that I/O would need to be non-blocking. > >There are a number of options including standard library threading, gevent, >stackless python, cython parallelism etc. Because I am new to Python, I am >unsure on which libraries to choose. I am not really bothered on the tool >chain, just as long as it is Python related (so I'd use PyPy for example). The locust.io load test tool uses gevent and seems to like it. I do not know enough to make a recommendation myself, but I believe they use it for the same reasons you have. Cheers, Cameron Simpson <cs@zip.com.au> Whatever is not nailed down is mine. What I can pry loose is not nailed down. - Collis P. Huntingdon
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Efficient Threading Cameron Simpson <cs@zip.com.au> - 2014-11-15 17:29 +1100
csiph-web