Simon Willison’s Weblog

Subscribe
Atom feed for spawning

2 items tagged “spawning”

2008

Django snippets: server with debugging backdoor. Six lines of code that uses spawning to fire up a Django server on port 8000 and a remote interactive interpreter backdoor on port 8001, so you can interogate the state of your server within the same process.

# 8th September 2008, 10:15 pm / debugging, django, python, spawning

Spawning + Django. The latest version of Spawning (a fast Python web server built on top of the Eventlet non-blocking coroutine networking library) can run Django applications out of the box, using threads and processes to work around the blocking nature of the ORM’s database drivers. Eric Florenzano reports better performance than Apache and mod_wsgi, and is now hosting his site on it.

# 31st July 2008, 10:56 am / comet, django, eric-florenzano, eventlet, python, spawning