Openworker, Welcome to participate: Https://github.com/supergis/OpenWorker.
Openworker is a python-based parallel processing framework that integrates celery, Flower, jobtastic, and rodeo projects, which can be managed through the console or Web, submit tasks, and so on.
Celery is a simple and flexible Python parallel processing framework, but several related projects need to be installed and configured on their own, which can make it difficult for white to use. Openworker put these projects together and added a unified installation script to make it easier to deploy and install and run. Openworker only integrates these resources to make it easier for data researchers to use instead of replacing the original project. As these projects are still evolving rapidly, a merged and updated script is also written to align with the original author's code base.
1. Parallel Processing framework:
celery:http://www.celeryproject.org/
Perform tasks for distribution and scheduling, using message bus for communication.
Introductory tutorials and references for celery: http://my.oschina.net/u/2306127/blog/420833
2. Web Management Console:
Flower:https://github.com/mher/flower
Monitor and manage task execution remotely through the Web interface.
3, Task progress notification:
jobtastic:http://policystat.github.io/jobtastic/
A celery extension library that provides progress notifications for long-running tasks.
4. Python Console on the Web:
Rodeo:https://github.com/yhat/rodeo
Python code can be written and executed in a Web browser, supporting an interactive console, ideal for exploratory programming and data research.
Quick Install script:
mkdir ./openworkerecho "=============================================" echo "Install rodeo, Remote web based python console ... "git clone cd rodeosudo PYTHON3 SETUP.PY INSTALLCD&NBSP, .... echo "Usage:" echo "  RODEO ." echo "=============================================" echo "install celery, parallel python exec-engine  "#celerysudo pip3 install celeryecho " Usage: "echo " celery -a tasks worker --loglevel=info "echo " ================================== =========== "echo " install flower ...sudo pip install flowerecho "If Want latest version,install use: "echo " sudo pip install https://github.com/ Mher/flower/zipball/master "echo " Or get source code: "echo " Git clone https ://github.com/mher/flower.git "echo " Usage: "echo " 1: flower --port=5555 "echo " 2: celery flower -a proj --address=127.0.0.1 --port=5555 "echo " 3: celery flower -a proj -- broker=amqp://guest:[email protected]:5672//"echo " ============================================= " echo "Install jobtastic-job status feedback tool ..." sudo pip3 install jobtasticecho "If you want latest version,install the source." echo "git clone echo " cd jobtastic && sudo python3 SETUP.PY INSTALL && CD&NBSP, ... " echo "" echo "===openworker dependence installed.======="
After you start the rodeo service, you can run the Python script remotely, and then start the celery-related Python script to perform the operations of the parallel compute service.
Celery has been integrated with Django, and can run a self-developed worker directly as a parallel server.
-openworker rapid installation of parallel processing engineering based on celery