Presenting SHARQ
An Open Source Rate Limited Queueing System
Tell Me More

Features

Dynamic queues with rate limits

SHARQ supports creating new queues dynamically and updating rate limits in real time, with zero configuration!

Built with Flask & Gevent

With Flask and Gevent, SHARQ is minimal and async. It exposes an HTTP interface so that producers and workers can be language agnostic.

Redis as a broker

Built on top of Redis, SHARQ stores all the jobs serialized as msgpack in memory, and uses Lua for atomic operations, for speed and reliablility!

GETTING STARTED


SHARQ requires Redis which can be downloaded here SHARQ can be installed from PyPI using pip

To install SHARQ


pip install sharqserver



SHARQ can be run with the sharq-server command and a configuration file
Get the sample configuration file

To run SHARQ


sharq-server --config sharq.conf


  ___ _              ___    ___
 / __| |_  __ _ _ _ / _ \  / __| ___ _ ___ _____ _ _
 \__ \ ' \/ _` | '_| (_) | \__ \/ -_) '_\ V / -_) '_|
 |___/_||_\__,_|_|  \__\_\ |___/\___|_|  \_/\___|_|

Version: 0.1.0

Listening on: 127.0.0.1:8080


Check out the documentation to get started with SHARQ!