pglistend: Lightweight PostgreSQL LISTEN Daemon icon

pglistend: Lightweight PostgreSQL LISTEN Daemon

pglistend is a lightweight daemon designed to leverage PostgreSQL's LISTEN/NOTIFY mechanism, enabling seamless background processing for real-time event handling. It allows developers to easily listen to database notifications on specified channels and execute custom scripts in response, making it an ideal solution for applications requiring instantaneous updates and event-driven architectures.

Features

Runs as a background process, listening on configurable PostgreSQL channels.

Customizable actions upon receiving notifications, enabling tailored responses.

Integrates with systemd for easy management and monitoring.

Logs all events to syslog, with support for viewing logs via journalctl.

Simple installation and setup via npm, with options for curl-based execution.

Repository Details

28
4
Updated: 7/26/2024

Languages

JavaScript
Python

Topics

postgres
listen
daemon
database
nodejs

License

MIT License