Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
Gaspar is a library for creating small, simple TCP daemons that parallelize CPU
intensive work with a simple and low-overhead request/response pattern.

It does this by forking off a number of worker processes, using eventlet to
handle incoming requests and the 0MQ push/pull message pattern to load
ballance work across the worker processes and receive responses.

src/g/a/gaspar-HEAD/tests/gaspartest.py   gaspar(Download)
"""gaspar tests."""
import gaspar
from unittest import TestCase
    def setUp(self):
        import gaspar
        consumer = gaspar.Consumer(self.handle)
        producer = gaspar.Producer(consumer, 0, processes=2)