{"library":"pgdb-queue","type":"library","category":null,"description":"pgdb-queue v1.1.2 is a lightweight, Kafka-style asynchronous message queue built on PostgreSQL, eliminating the need for Kafka, Redis, or additional infrastructure. It uses PostgreSQL's LISTEN/NOTIFY for efficient, zero-polling wake-ups after draining, and row-level locking with FOR UPDATE SKIP LOCKED for concurrency. The library is ideal for startups or small apps needing reliable background processing with minimal operational overhead. It ships TypeScript types and provides a simple producer/consumer API with automatic retries and FIFO ordering.","language":"javascript","status":"active","version":"1.1.2","tags":["javascript","queue","messaging queue","async communication","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install pgdb-queue","imports":["import { initQueue } from 'pgdb-queue'","import { produce } from 'pgdb-queue'","import { startConsumer } from 'pgdb-queue'"]},{"cmd":"yarn add pgdb-queue","imports":[]},{"cmd":"pnpm add pgdb-queue","imports":[]}],"homepage":"https://github.com/SHIVAJIKUMAR007/dbqueue#readme","github":"https://github.com/SHIVAJIKUMAR007/dbqueue","docs":null,"changelog":null,"pypi":null,"npm":"pgdb-queue","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}