All Projects → testdrivenio → simple-task-queue

testdrivenio / simple-task-queue

Licence: MIT License
asynchronous task queues using python's multiprocessing library

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to simple-task-queue

distex
Distributed process pool for Python
Stars: ✭ 101 (+158.97%)
Mutual labels:  multiprocessing, task-queue
Pyexpool
Python Multi-Process Execution Pool: concurrent asynchronous execution pool with custom resource constraints (memory, timeouts, affinity, CPU cores and caching), load balancing and profiling capabilities of the external apps on NUMA architecture
Stars: ✭ 149 (+282.05%)
Mutual labels:  multiprocessing, task-queue
Ultra
An operating system that doesn't try to be UNIX. Made completely from scratch with its own bootloader. 😊
Stars: ✭ 48 (+23.08%)
Mutual labels:  multiprocessing
FinanceCenter
Fetching Financial Data (US/China)
Stars: ✭ 26 (-33.33%)
Mutual labels:  multiprocessing
neomake-multiprocess
A vim plugin for running multiple process asynchronously base on neomake.
Stars: ✭ 36 (-7.69%)
Mutual labels:  multiprocessing
python-graceful-shutdown
Example of a Python code that implements graceful shutdown while using asyncio, threading and multiprocessing
Stars: ✭ 109 (+179.49%)
Mutual labels:  multiprocessing
RTGraph
A simple Python application for plotting and storing data in real time
Stars: ✭ 45 (+15.38%)
Mutual labels:  multiprocessing
funboost
pip install funboost,python全功能分布式函数调度框架,。支持python所有类型的并发模式和全球一切知名消息队列中间件,python函数加速器,框架包罗万象,一统编程思维,兼容50% python编程业务场景,适用范围广。只需要一行代码即可分布式执行python一切函数。旧名字是function_scheduling_distributed_framework
Stars: ✭ 351 (+800%)
Mutual labels:  multiprocessing
endurox-go
Application Server for Go (ASG)
Stars: ✭ 32 (-17.95%)
Mutual labels:  multiprocessing
rqmonitor
Flask based more dynamic and actionable frontend dashboard for monitoring Redis Queue 👩🏿‍💻 http://python-rq.org
Stars: ✭ 152 (+289.74%)
Mutual labels:  task-queue
MyTools
🛠️一些小工具脚本
Stars: ✭ 23 (-41.03%)
Mutual labels:  multiprocessing
mantichora
A simple interface to Python multiprocessing and threading
Stars: ✭ 13 (-66.67%)
Mutual labels:  multiprocessing
bsuir-csn-cmsn-helper
Repository containing ready-made laboratory works in the specialty of computing machines, systems and networks
Stars: ✭ 43 (+10.26%)
Mutual labels:  multiprocessing
think-async
🌿 Exploring cooperative concurrency primitives in Python
Stars: ✭ 178 (+356.41%)
Mutual labels:  multiprocessing
theeye-of-sauron
TheEye Dockers and QuickStart
Stars: ✭ 27 (-30.77%)
Mutual labels:  task-queue
parallel mAP evaluation
This repo parallelizes mAP_evaluation using python's multiprocessing module.
Stars: ✭ 18 (-53.85%)
Mutual labels:  multiprocessing
tasq
A simple task queue implementation to enqeue jobs on local or remote processes.
Stars: ✭ 83 (+112.82%)
Mutual labels:  task-queue
gohive
🐝 A Highly Performant and easy to use goroutine pool for Go
Stars: ✭ 41 (+5.13%)
Mutual labels:  task-queue
psched
Priority-based Task Scheduling for Modern C++
Stars: ✭ 59 (+51.28%)
Mutual labels:  task-queue
orkid-node
Reliable and modern Redis Streams based task queue for Node.js 🤖
Stars: ✭ 61 (+56.41%)
Mutual labels:  task-queue

Asynchronous Task Queues in Python

Several implementations of asynchronous task queues in Python using the multiprocessing library and Redis.

Blog post: Developing an Asynchronous Task Queue in Python

Setup

  1. Fork/Clone

  2. Create and activate a virtual environment

  3. Install the dependencies

  4. Enter the Python shell and download the NLTK stopwords corpus:

    >> import nltk
    >> nltk.download('stopwords')
    
      [nltk_data] Downloading package stopwords to
      [nltk_data]     /Users/michael.herman/nltk_data...
      [nltk_data]   Unzipping corpora/stopwords.zip.
      True

Examples

Multiprocessing Pool:

$ python simple_pool.py

Multiprocessing Queue:

$ python simple_queue.py
$ python simple_task_queue.py

Logging to a single file:

$ python simple_task_queue_logging.py

Logging to separate files:

$ python simple_task_queue_logging_separate_files.py

Redis:

$ python redis_queue.py
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].