pg-listen

The premium Open Source alternative to Pusher

🎯 Best for:Node.js services needing low-latency notifications triggered directly by database changes.

What is pg-listen?

Replaces polling-based database synchronization with a native PostgreSQL LISTEN/NOTIFY wrapper for Node.js. It provides a resilient connection manager with automatic retries and JSON payload parsing for event-driven backends.

Tech Stack
TypeScriptDatabase & Storage

Why pg-listen?

  • Eliminates need for external message brokers
  • Strong consistency with DB transactions
  • Automatic reconnection logic

Limitations

  • PostgreSQL specific
  • 8KB payload limit for notifications
  • Requires persistent DB connections
3/1/2026
Last Update
34
Forks
15
Issues
MIT
License
Financial Leak Detected

Stop the "SaaS Tax"

Your team could be burning cash. Switching to pg-listen instantly boosts your runway.

Competitor Cost
-$1,440
/ year (est. based on Pusher)
Self-Hosted
$0
/ year
Team Size10 Users
150+
SAVE 100%

Community Discussion

Comments