Python "Task Server"
<p>My question is: which python framework should I use to build my server?</p>

<p>Notes:</p>

<ul>
<li>This server talks HTTP with it's clients: GET and POST  (via pyAMF)</li>
<li>Clients "submit" "tasks" for processing and, then, sometime later, retrieve the associated "task_result" </li>
<li>submit and retrieve might be separated by days - different HTTP connections</li>
<li>The "task" is a lump of XML describing a problem to be solved, and a "task_result" is a lump of XML describing an answer. </li>
<li>When a server gets a "task", it queues it for processing</li>
<li>The server manages this queue and, when tasks get to the top, organises that they are processed. </li>
<li>the processing is performed by a long running (15 mins?) external program (via subprocess) which is feed the task XML and which produces a "task_result" lump of XML which the server picks up and stores (for later Client retrieval).</li>
<li>it serves a couple of basic HTML pages showing the Queue and processing status (admin purposes only)</li>
</ul>

<p>I've experimented with twisted.web, using SQLite as the database and threads to handle the long running processes.  </p>

<p>But I can't help feeling that I'm missing a simpler solution.  Am I?  If you were faced with this, what technology mix would you use? </p>
