np
node-pgq
npm i node-pgq
np

node-pgq

SkyTools PgQ implementation in Node.js

by Kristo Kaiv

0.0.14 (see all)License:ISCTypeScript:Not Found
npm i node-pgq
Readme

#node-pgq

SkyTools PgQ messaging broker consumer / ticker implementation for Node.js

Summary

PgQ is the messaging broker implementation for PostgreSQL databases built by Skype engineers. It's the core layer that delivers data in the replication tool Londiste. PgQ is the perfect messaging implementation if you care that your data never gets lost but don't care about millisecond latency for message delivery or fancy routing. Key reasons why to choose this package are:

  • PgQ core code has run in live for years without causing data loss, message data is as reliable as your database
  • Messages get created within the same transaction that updates your business data so they won't get out of sync with it
  • Handles massive loads really well
  • You can create your own message formats
  • No limits on message consumers or producers
  • No additional technology stack needed, some tables, functions & triggers are added into your database. Everything else can be controlled from Node.js
  • Node.js code has 100% unit test branch coverage and we will keep it that way

The original PgQ implementation is written in C, python & PL/pgSQL and available as part of the Skytools package here: https://github.com/markokr/skytools

Downloads/wk

44

GitHub Stars

10

LAST COMMIT

4yrs ago

MAINTAINERS

1

CONTRIBUTORS

2

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
0.0.14
latest
7yrs ago
No alternatives found
No tutorials found
Add a tutorial