Simple Queue for App Engine
h2. Overview
This demonstrates a simple Queue mechanism you can use in App Engine applications. It is based on code taken from "Jaikuengine":code.google.com/p/jaikuengine/ and then modified for a more generic purpose. Creating tasks is as simple as:
Where test is the name of the mapping in api.py, 1 is a unique identifier for the task and ['test argument 1'] is a list of arguments to pass to the test method.
Once you have a set of tasks in the queue you process them like so:
h2. Example
The main.py and api.py files contains a reference implementation. If you run the application you can visit "localhost:8080/seed":http://localhost:8080/seed to create a series of tasks and then "localhost:8080":http://localhost:8080/ to process a task at a time. In a real application you could set up an external cron to ping an end point to process items from the queue.
h2. Todo
h2. Licence