<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: spawning</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/spawning.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2008-09-08T22:15:45+00:00</updated><author><name>Simon Willison</name></author><entry><title>Django snippets: server with debugging backdoor</title><link href="https://simonwillison.net/2008/Sep/8/django/#atom-tag" rel="alternate"/><published>2008-09-08T22:15:45+00:00</published><updated>2008-09-08T22:15:45+00:00</updated><id>https://simonwillison.net/2008/Sep/8/django/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.djangosnippets.org/snippets/1038/"&gt;Django snippets: server with debugging backdoor&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
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.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/debugging"&gt;debugging&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/django"&gt;django&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/python"&gt;python&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/spawning"&gt;spawning&lt;/a&gt;&lt;/p&gt;



</summary><category term="debugging"/><category term="django"/><category term="python"/><category term="spawning"/></entry><entry><title>Spawning + Django</title><link href="https://simonwillison.net/2008/Jul/31/spawning/#atom-tag" rel="alternate"/><published>2008-07-31T10:56:21+00:00</published><updated>2008-07-31T10:56:21+00:00</updated><id>https://simonwillison.net/2008/Jul/31/spawning/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.eflorenzano.com/blog/post/spawning-django/"&gt;Spawning + Django&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
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.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/comet"&gt;comet&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/django"&gt;django&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/eric-florenzano"&gt;eric-florenzano&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/eventlet"&gt;eventlet&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/python"&gt;python&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/spawning"&gt;spawning&lt;/a&gt;&lt;/p&gt;



</summary><category term="comet"/><category term="django"/><category term="eric-florenzano"/><category term="eventlet"/><category term="python"/><category term="spawning"/></entry></feed>