{"repo":"MeVitae/redis-work-queue","free":true,"listed":false,"github":"https://github.com/MeVitae/redis-work-queue","clone":"git clone https://github.com/MeVitae/redis-work-queue.git","description":"A cross-platform work queue, on top of a redis database, with implementations in Python, Rust, Go, Node.js (TypeScript) and Dotnet (C#).","language":"Go","stars":25,"topics":["dotnet","golang","k8s","kubernetes","nodejs","python","redis","rust"],"license":"MIT","category":"databases-storage","readme_excerpt":"Redis Work Queue A work queue, on top of a redis database, with implementations in Python, Rust, Go, Node.js (TypeScript) and Dotnet (C#). This provides no method of tracking the outcome of work items. Tracking results is fairly simple to implement yourself (just store the result in the redis database with a key derived from the work item id). If you want a more fully-featured system for managing jobs, see our Collection Manager. Implementations in other languages are welcome, open a PR! Documentation In addition to the primary overview below, each implementation has its own examples and API reference. - Python: - Rust: - Go: - DotNet (C#): - Node.js (TypeScript): Overview All the implementations share the same operations, on the same core types, these are: Items Items in the work queue consist of an id , a string, and some data , arbitrary bytes. For convenience, the IDs are often randomly generated UUIDs, however they can be customized. Adding an item Python: WorkQueue.add item , Rust: WorkQueue::add item , Node.js: WorkQueue::add item , Go: WorkQueue.AddItem Adding an item is exactly what it sounds like! It adds an item to the work queue. It will then either be in the queue or being processed (before coming back to the queue if the processing fails) until the job is completed. Adding known unique items (faster) Python: WorkQueue.add unique item , Rust: WorkQueue::add unique item , Node.js: WorkQueue::add item , Go: WorkQueue.AddUniqueItem If you know that an item ID is not","default_branch":null,"files":null,"tree":[],"storefront":"/r/MeVitae","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MeVitae/redis-work-queue/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}