Skip to main content

sidita license sidita python version

sidita last version

Overview

What is sidita ?

Sidita is a Python module which implements a distributed task queue featuring an intermediate solution between the multiprocessing module and a task scheduler like Celery.

The Sidita use case corresponds to the case where you need to run CPU bound tasks in parallel and you require an immunity to crashes, memory leaks and overruns. Theses requirements are met by a monitored subprocess implementation.

Where is the Documentation ?

The documentation is available on the sidita Home Page.

What are the main features ?

  • Must be a simple solution to circumvent to the GIL limitation : i.e. distribute and run tasks in parallel on local CPU cores

  • Must be a lightweight solution to Celery : no broker

  • Should be portable on main OS like Unix and Windows

  • Scheduler is implemented using an asyncio event loop and asyncio queue

  • Scheduler queue can be limited on size so as to prevent a memory overshoot at startup

  • Workers are spawned using asyncio subprocess and communicate through a pipe (stdin, stdout)

  • Pass any pickable object as request and response

  • Scheduler monitors workers and restart them when they was killed or they exceeded a memory or timeout threshold

  • Provide basic metrics on workers

Technical details in brief:

  • scheduler run a producer and N consumers coroutines in an asyncio event loop

  • the producer coroutine awaits on queue.put(task) ( if a size limit is set )

  • each consumer coroutine wraps a worker subprocess and await data on the stdout pipe

Technical details in brief:

  • scheduler run a producer and N consumers coroutines in an asyncio event loop

  • the producer coroutine awaits on queue.put(task) ( if a size limit is set )

  • each consumer coroutine wraps a worker subprocess and await data on the stdout pipe

How to install it ?

Look at the installation section in the documentation.

Credits

Authors: Fabrice Salvaire

News

V0 2018-05-01

Started project

Release files for sidita 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for sidita 1.0.1
File Interpreter ABI Platform
sidita-1.0.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / sidita-1.0.1-py2.py3-none-any.whl

Download URL sidita-1.0.1-py2.py3-none-any.whl
Size 15.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6b33b9279d285b219f5cfa66e17428a97669e3922b714228cacce36a3e02d73e
BLAKE2b-256 checksum
How to use checksums
80b853000883cfe1921037eedd6451809a055a2e39afb93b2e9445ba2b8b6862
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page