Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #80779

Efficient Threading

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <emptya45@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.030
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'python,': 0.02; '(so': 0.07; 'pypy': 0.07; 'stackless': 0.09; 'python': 0.11; 'concurrent': 0.16; 'example).': 0.16; 'library': 0.18; 'load': 0.23; 'options': 0.25; 'related': 0.29; 'message- id:@mail.gmail.com': 0.30; 'libraries': 0.31; "i'd": 0.34; 'tool': 0.35; 'test': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'really': 0.36; 'thanks': 0.36; 'hi,': 0.36; 'to:addr:python- list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'most': 0.60; 'new': 0.61; 'skip:n 10': 0.64; 'bothered': 0.68; 'choose.': 0.84; 'imagine': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=sxZeTVKlkOU0RkMD7fSGjXsYKr/zJo8g+R3i4t+1d9M=; b=MXtEXTtsZlkfRnCmStU34qdwEYiO87y/h4HQsd3qxwzvJRgfnZVG4TgC4a+HR/y6Q8 kOl7wbbnFkk5m2H2p7qHZiF05A5A/siId8Yerv/33LQMsnI+0ETR7afeWDK0z904kHuP eNcOLMDsCsvmnwkcqut1fba9V7s1UfGfL8O/wNFdh69zdwkHD+g3FYWXgwmsPY6FjKkb 6eWwYlyfRLnvTVm4iiC6wAydN7GF4zipL3cRrNyettBaZwjTEQKu6X/qf4WVgiRwRWkM ZwhSgwLC/7dbIoAcVNtJ0m7+f6PkB59u9SqZC1De9og5Hije+ZyFBwtLbALnsdhsOoTJ fGRQ==
MIME-Version 1.0
X-Received by 10.60.67.233 with SMTP id q9mr9236276oet.30.1415990558852; Fri, 14 Nov 2014 10:42:38 -0800 (PST)
Date Fri, 14 Nov 2014 18:42:38 +0000
Subject Efficient Threading
From Empty Account <emptya45@gmail.com>
To python-list@python.org
Content-Type multipart/alternative; boundary=001a11c30fbc44111b0507d5fea9
X-Mailman-Approved-At Fri, 14 Nov 2014 20:22:27 +0100
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.15828.1415992949.18130.python-list@python.org> (permalink)
Lines 34
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1415992949 news.xs4all.nl 2977 [2001:888:2000:d::a6]:42395
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:80779

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

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).

Many Thanks

Aidy

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Efficient Threading Empty Account <emptya45@gmail.com> - 2014-11-14 18:42 +0000

csiph-web