Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

Event-loop based, miniature job queue and worker that runs the task in a subprocess (via fork).

Project description

Build Status Coverage Status PYPI Package PYPI Package

Event-loop based, miniature job queue and worker that runs the task in a subprocess (via fork). When multiple requests are made for the same task they are collapsed into a single instance.

Note:It doesn’t support arguments to tasks. Not yet …

Usage

class MacLeod(StampedeWorker):
    socket_name = 'test.sock'

    def do_work(self, task_name):
        import time
        time.sleep(18)

man = MacLeod()
man.run()

To create tasks:

echo mytask > nc -U test.sock

Features

  • TODO

Implementation

TODO

TODO

  • ???

Requirements

OS:Linux
Runtime:Python 2.6, 2.7, 3.2, 3.3 or PyPy
Packages:python-signalfd
Bitdeli badge

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for stampede, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size stampede-0.0.2.tar.gz (7.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page