Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #74274 > unrolled thread
| Started by | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| First post | 2014-07-09 15:18 -0400 |
| Last post | 2014-07-09 15:18 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Entreprise level python tcp server Terry Reedy <tjreedy@udel.edu> - 2014-07-09 15:18 -0400
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Date | 2014-07-09 15:18 -0400 |
| Subject | Re: Entreprise level python tcp server |
| Message-ID | <mailman.11708.1404933516.18130.python-list@python.org> |
> On 7/9/2014 3:36 AM, Arulnambi Nandagoban wrote: >> I like to convert the python script to windows application. The proper way to do asynchronous io on Windows is quite different from the proper way to do it on posix systems (more or less everything other than Windows). If you plan on using a Windows server, pay no attention to benchmarks run on posix servers. More on this below. On 7/9/2014 1:12 PM, Emile van Sebille wrote: > EVE online uses stackless python > (http://highscalability.com/eve-online-architecture) and has seen a max > of some 40k simultaneous users. You might want to look into how they do > it. Stackless used 'micro threads' managed by the interpreter without involving the OS. These are called 'green threads' because they save resources. They are available as 'greenlets' on PyPI and used by, among others, gevent. See https://en.wikipedia.org/wiki/Stackless_Python Python 3.4 comes with something similar -- tasks -- in the new asyncio library. On feature of asyncio is that it transparently implementation so the same asyncio code works well on Windows as well as posix. I don't know if this is true of other alternatives. Python has an ftplib module. I suspect it could still be improved to work better with asyncio. -- Terry Jan Reedy
Back to top | Article view | comp.lang.python
csiph-web