You are here: Home / LBN / Up2date / Plone and Zope / BastionLinux 13 / python-m01.remote-0.5.1-1.lbn13.noarch

python-m01.remote-0.5.1-1.lbn13.noarch

Package Attributes
RPM  python-m01.remote-0.5.1-1.lbn13.noarch.rpm Architecture  noarch Size  272615 Created  2017/08/04 11:09:08 UTC
Package Specification
Summary Remote processing queue for Zope3
Group Application/Internet
License ZPL
Home Page http://pypi.python.org/packages/source/m/m01.remote/m01.remote-0.5.1.zip
Description

This package offers a remote processor. This remote processor is implemented as a simple object using the mongodb as storage. The processor can execute pre defined jobs in another thread. It is also possible to run jobs at specific time using the different scheduler items.

The RemoteProcessor uses two different processor. One processes jobs and the other pickes items from the scheduler and is adding jobs. This separation is useful if you implement a distributed concept. This means one or more application can schedule job items based on the given scheduler items. And another application is processing jobs and doesn't know about how to scheduling next items.

Since we use this remote scheduler for low CPU intensive jobs, we offer multi processing. This is done by running more then one worker in the main worker thread. If you use subprocess for your job processing, you will get a real multiprocessing processor which isn't limited to the current python process.

You can configure the amount of threads which a job worker can start in the remote processor. See jobWorkerArguments/maxThreads. By default this number uses the amount of CPU installed on your machine.

The implementation uses a mongodb as a storage for it's component. This means jobs, job factories and scheduler items get stored in the mongodb using the ORM concept given from m01.mongo.

See p01.remote for a ZODB based remote processor implementation but take care the p01.remote implementation doesn't provide the worker and scheduler processor separation. At least not yet.

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(CompressedFileNames)  
/bin/sh  
rpmlib(PartialHardlinkSets)  
rpmlib(PayloadIsXz)  
rpmlib(FileDigests)  
Provides
python-m01.remote

Document Actions