{"repo":"jlucaso1/lightq","free":true,"listed":false,"github":"https://github.com/jlucaso1/lightq","clone":"git clone https://github.com/jlucaso1/lightq.git","description":"A simple, lightweight, Redis-backed job queue library","language":"TypeScript","stars":18,"topics":["bun","deno","nodejs","queue","redis","typescript"],"license":"MIT","category":"databases-storage","readme_excerpt":"LightQ ✨ A simple, lightweight, Redis-backed job queue library designed for TypeScript applications. LightQ provides essential queueing features with a focus on reliability and ease of use, leveraging atomic Redis operations via Lua scripts. Features - ✅ Simple API: Easy-to-understand interface for adding and processing jobs. - 🚀 Redis Backend: Uses Redis for persistence, ensuring jobs are not lost. - 🔒 Atomic Operations: Leverages Lua scripts for safe, atomic state transitions in Redis. - 🔷 TypeScript Native: Written entirely in TypeScript with types included. - 🕒 Delayed Jobs: Schedule jobs to run after a specific delay. - 🗓️ Scheduled Jobs: Define recurring jobs using cron patterns or fixed intervals via the integrated Job Scheduler. - 🔄 Automatic Retries: Failed jobs can be automatically retried with configurable backoff strategies (fixed, exponential). - ⚖️ Concurrency Control: Limit the number of jobs a worker processes concurrently. - 🧹 Job Lifecycle Events: Emit events for active , completed , failed , retrying , etc. (including scheduler-specific events). - 🗑️ Automatic Cleanup: Optionally remove job data automatically upon completion or failure. Installation Prerequisite: Requires a running Redis server (version 4.0 or later recommended due to Lua script usage). ioredis is used as the Redis client. Basic Usage Check the example/index.ts file for a comprehensive demonstration, including: - Creating Queues and Workers. - Adding immediate, delayed, and failing ","default_branch":null,"files":null,"tree":[],"storefront":"/r/jlucaso1","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jlucaso1/lightq/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."}