Showing posts with label Python-web-servers. Show all posts
Showing posts with label Python-web-servers. Show all posts

Monday, October 8, 2012

uWSGI: Swiss Army Knife for your web/network apps

By Vasudev Ram


IIRC, I had blogged or tweeted about uWSGI a while ago. Saw it again today. It seems to have evolved a lot since then.

The Internet Archive uses it.

The Internet Archive on Wikipedia.

Brewster Kahle founded the Internet Archive.

uWSGI is a fast, self-healing and developer/sysadmin-friendly application container server coded in pure C.

Excerpts:

[ Born as a WSGI-only server, over time it has evolved in a complete stack for networked/clustered web applications, implementing message/object passing, caching, RPC and process management.
...
It can be run in preforking mode, threaded, asynchronous/evented and supports various forms of green threads/coroutines (such as uGreen, Greenlet, Stackless, Gevent and Fiber).
...
Sysadmins will love it as it can be configured via several methods: command line, environment variables, XML, .ini, yaml, json, sqlite3 database and via LDAP. ]

- Vasudev Ram - Dancing Bison Enterprises

Thursday, September 27, 2012

Waitress, a pure Python WSGI web server

By Vasudev Ram


Waitress is a pure-Python WSGI server. (It is part of the Pylons Project.) From the Waitress site:

[ Waitress is meant to be a production-quality pure-Python WSGI server with very acceptable performance. It has no dependencies except ones which live in the Python standard library. It runs on CPython on Unix and Windows under Python 2.6+ and Python 3.2.
...
It supports HTTP/1.0 and HTTP/1.1.
]

Usage example:
from waitress import serve
serve(wsgiapp, host='0.0.0.0', port=8080)
or
from waitress import serve
serve(wsgiapp)
The second example serves the application on all IP addresses, on port 8080.

You can download Waitress from the Python Package Index (PyPI).

- Vasudev Ram - Dancing Bison Enterprises