[pylons-discuss] Re: waitress vs mod_wsgi

2014-03-09 Thread Laurence Rowe
On Sunday, 9 March 2014 04:46:56 UTC-7, Chris Withers wrote: > > What are the things you should consider when deciding between waitress > and mod_wsgi when it comes to serving a pyramid app? > If you need to run more than one process, or configure SSL, etc. then mod_wsgi is the all-in-one soluti

Re: [pylons-discuss] waitress vs mod_wsgi

2014-03-09 Thread John Anderson
I would go with waitress at this point unless you have to support non-WSGI applications. It is very efficient and stable and doesn't require you to run it behind a proxy server (varnish/nginx) if you don't want to. The only way to get comparable performance from another Python webserver would be t

Re: [pylons-discuss] pyramid and asynchronous programming

2014-03-09 Thread Jonathan Vanasco
We've been building a fairly large system for the past 2 years. Hopefully going into public beta soon. It deals with a lot of the same concepts as you're talking about. We've got a website, a twisted daemon and a celery daemon. The big tip I can give you is to consider how much you'd like th

[pylons-discuss] Re: waitress vs mod_wsgi

2014-03-09 Thread Jonathan Vanasco
Could you use nginx + uwsgi/gunicorn/etc ? I'm generally anti-Apache because I don't like the memory/process management model and miscellaneous concurrency issues ( handling the number, and also dealing with slow connections/hangups ). If you ran mod_wsgi, I would make really suggest you eithe

Re: [pylons-discuss] pyramid and asynchronous programming

2014-03-09 Thread AM
On 03/09/2014 04:20 AM, Chris Withers wrote: Hi All, So, one of the projects I'm playing with at the moment is a big ball of asynchronous networking (tonnes of protocols, some tcp, some multicast) which I want to stick a webapi onto (normal requests + websocket). What's the best way to buil

[pylons-discuss] Re: pyramid and asynchronous programming

2014-03-09 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/09/2014 07:43 AM, Chris Withers wrote: >> Whatever you do, keep your fingers off asyncore, that’s a complete >> turd unfortunately (hence tulip). > > Well, okay, but it's been used as the core of waitress, which is a > relatively recent innova

[pylons-discuss] waitress vs mod_wsgi

2014-03-09 Thread Chris Withers
Hi All, What are the things you should consider when deciding between waitress and mod_wsgi when it comes to serving a pyramid app? cheers, Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk -- You received this message be

Re: [pylons-discuss] pyramid and asynchronous programming

2014-03-09 Thread Chris Withers
On 09/03/2014 11:31, Hynek Schlawack wrote: On 9 Mar 2014, at 12:20, Chris Withers wrote: Aside from that, what's people's experience/recommendations when it comes to the plethora of async stuff currently available? twisted, tornado, tulip or even good old fashioned asyncore seem like possibi

Re: [pylons-discuss] pyramid and asynchronous programming

2014-03-09 Thread Hynek Schlawack
On 9 Mar 2014, at 12:20, Chris Withers wrote: > Aside from that, what's people's experience/recommendations when it comes to > the plethora of async stuff currently available? > twisted, tornado, tulip or even good old fashioned asyncore seem like > possibilities, I'm wondering which way to go

[pylons-discuss] pyramid and asynchronous programming

2014-03-09 Thread Chris Withers
Hi All, So, one of the projects I'm playing with at the moment is a big ball of asynchronous networking (tonnes of protocols, some tcp, some multicast) which I want to stick a webapi onto (normal requests + websocket). What's the best way to build the web side of this? I think I'd like to us