I think the goal is something that won't just fold over in production. wsgiref is single threaded and in just no way capable of being deployed. This way if someone deploys it without knowing any better they at least have a chance. On Dec 31, 2011 4:41 PM, "John Anderson" <[email protected]> wrote:
> So what is the reasoning behind needing a production ready webserver > included with the framework by default? Couldn't we just include > something lightweight that works for development and allow people to > make their own decision on what webserver they would like to use? > > For example, I use gunicorn for development and production, so there is > no reason to make that decision for me and include a separate webserver. > > If Pyramid starts shipping with a production ready webserver that is > giving the impression that the pylons project will be > supporting/maintaining/improving that webserver. Is that something you > want? > > On 12/31/2011 04:08 PM, Chris McDonough wrote: > > On Sat, 2011-12-31 at 08:38 -0800, Joshua Partogi wrote: > >> I am getting this error: > >> LookupError: Entry point 'wsgiref' not found in egg 'waitress' (dir: / > >> usr/python2.6/site-packages/waitress-0.2-py2.6.egg; protocols: > >> paste.server_factory, paste.server_runner; entry_points: ) > > "getting this error" > > > > My best guess. You have this: > > > > egg:waitress#wsgiref > > > > Instead of: > > > > egg:waitress#main > > > > In some .ini file. But who knows. > > > >> Is this known? > >> > >> On Dec 31, 11:08 am, Chris McDonough <[email protected]> wrote: > >>> FYI, in the next 1.3a release of Pyramid, I'm going to switch its > >>> scaffolds over to using the new-ish "waitress" server as the default > >>> WSGI server. > >>> > >>> http://readthedocs.org/docs/waitress/en/latest/ > >>> > >>> http://pypi.python.org/pypi/waitress/0.2 > >>> > >>> This will be an improvement over the status quo. We are currently > >>> forced to use wsgiref in 1.3 (which is single-threaded and not suitable > >>> for production) because it's the only standalone pure-Python web server > >>> that will run under both Python 2 and Python 3. Waitress isn't exactly > >>> a speed demon, but it's suitable for both development and production, > >>> and runs on all the platforms we care about. > >>> > >>> - C > > > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/pylons-discuss?hl=en. > > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
