{"repo":"cantrepro/cppq","free":true,"listed":false,"github":"https://github.com/cantrepro/cppq","clone":"git clone https://github.com/cantrepro/cppq.git","description":"Simple, reliable & efficient distributed task queues for C++17","language":"C++","stars":116,"topics":["asynchronous-tasks","cpp","cpp17","distributed-computing","task-queue","tasks","worker-pool","background-jobs","redis","redis-queue"],"license":"MIT","category":"databases-storage","readme_excerpt":"cppq Distributed, Redis-backed task queue for modern C++17 applications with worker orchestration, scheduling, and tooling built-in. Table of Contents - Overview - Features - Requirements - Quickstart - Example - Running the Example - Testing - CLI - Web UI - Project Layout - License Overview cppq is a header-only task queue that lets you enqueue work from C++ and execute it asynchronously via Redis. Workers pull jobs, run user supplied handlers, and update task state in Redis. The library focuses on predictable behaviour and ease of adoption—drop the header in your project, link a couple of dependencies, and you have a resilient queue. Architecture at a Glance - Producers enqueue Task objects into Redis lists and hashes. - runServer polls queues by priority, hands tasks to a thread pool, and dispatches registered handlers. - Recovery logic returns stuck tasks to the pending list after configurable timeouts. - Auxiliary tooling (CLI, web dashboard) surfaces queue state and provides pause / resume controls. Features - At-least-once delivery with retry tracking and task recovery. - Scheduled execution (time-based today, cron support planned). - Queue-level priorities and pause / unpause switches. - Header-only API; only Redis, libuuid, and hiredis are required. - Companion CLI and web dashboard for operations teams. - Extensive Catch2 test suite covering queue flows and thread pool behaviour. Requirements Runtime - Redis 6.0+ available on redis://127.0.0.1:6379 (configurable). ","default_branch":null,"files":null,"tree":[],"storefront":"/r/cantrepro","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cantrepro/cppq/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."}