Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #68203 > unrolled thread
| Started by | Chris Withers <chris@simplistix.co.uk> |
|---|---|
| First post | 2014-03-11 07:53 +0000 |
| Last post | 2014-03-11 07:53 +0000 |
| 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: which async framework? Chris Withers <chris@simplistix.co.uk> - 2014-03-11 07:53 +0000
| From | Chris Withers <chris@simplistix.co.uk> |
|---|---|
| Date | 2014-03-11 07:53 +0000 |
| Subject | Re: which async framework? |
| Message-ID | <mailman.8038.1394524394.18130.python-list@python.org> |
On 10/03/2014 21:57, Terry Reedy wrote:
>> I'd like to be able to serve the rest of the web api using a pyramid
>> wsgi app if possible, and I'd like to be able to write the things that
>> process requests in and validation out in a synchronous fashion, most
>> likely spinning off a thread for each one.
>
> If you are writing 'standard' blocking, synchronous code, I am not sure
> why you would use any of the above.
The idea I have is to do all the networking async based on a declarative
set of messages in and recording all messages out and then hand that set
of messages off to a syncronous layer to make assertions, record into a
database, etc.
>> The protocols are all financial (do we really not have a pure-python FIX
>> library?!) but none are likely to have existing python implementations.
>>
>> How should I pick between the options? What would people recommend and
>> why?
>
> I know nothing of tornado. I personally would use asyncio over twisted
> if I could because it is simpler, in the stdlib, has the option to write
> 'untwisted' non-blocking code similar to blocking code, and the docs
> easier for me to read.
Thanks.
Guess I was expecting more of a response. I suspect I'll just end up
cross-posting to the various mailing lists, which I hope won't cause too
much offence or kick off any flame wars.
I'm faced with a difficult choice that I suspect many in our community
are, just trying to find out how to make the best decision :-)
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
Back to top | Article view | comp.lang.python
csiph-web