Dev tools · alternatives · 2026
24 alternatives to Pub/Sub with PostgreSQL under 40 lines of Python code
How to use PostgreSQL's LISTEN/NOTIFY as a simple message queue with psycopg2 and asyncio - listen.py
This is a Python implementation that demonstrates how to build a publish-subscribe messaging system using PostgreSQL in under 40 lines of code. It is for developers who need a lightweight pub/sub solution without… Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes. Pub/Sub with PostgreSQL under 40 lines of Python code launched in 2020; newer entries below may have overtaken it.
- 1

PgQueuer is a Python job queue that uses PostgreSQL for everything — queue storage, locking, notifications. No Redis, no RabbitMQ, no separate broker to operate. If your app already has Postgres, you already have the broker. After ~2 years and 26 minor releases, 1.0 ships today as the first stable release. Strict semver from here on. Thanks to everyone who contributed and left feedback!
2024 · github.com · its alternatives →
- 2

SQLite extension + bindings for Postgres NOTIFY/LISTEN semantics with durable queues, streams, pub/sub, and scheduler - russellromney/honker
Apr 2026 · github.com · its alternatives →
- 3

listen, notify, postgres, pubsub, javascript, typescript
2020 · github.com · its alternatives →
- 4PS
Hello HN, I am Sai Srirampur, one of the Co-founders of PeerDB. (https://github.com/PeerDB-io/peerdb). We spent the past 7 months building a solid experience to replicate data from Postgres to data warehouses. Now we're expanding to queues. PeerDB Streams provides a simple and native way to replicate changes as they happen in Postgres to Queues (Kafka, Redpanda, Google PubSub, etc). We use Postgres logical decoding to enable Change Data Capture (CDC). Blog post here: https://blog.peerdb.io/peerdb-streams-simple-native-postgres.... 10-min quickstart here:…
2024 · its alternatives →
- 5

Hi HN, James, Valter, Sam and the team from ElectricSQL here. We're really excited to be sharing ElectricSQL with you today. It's an open source, local-first sync layer that can be used to build reactive, realtime, offline-capable apps directly on Postgres with two way active-active sync to SQLite (including with WASM in the browser). Electric comprises a sync layer (built with Elixir) placed in front of your Postgres database and a type safe client that allows you to bidirectionally sync data from your Postgres to local SQLite databases. This sync is CRDT-based, resilient to conflicting…
2023 · electric-sql.com · its alternatives →
- 61R
2016 · magic.io · its alternatives →
- 7

A lightweight message queue. Like AWS SQS and RSMQ but on Postgres. - pgmq/pgmq
2024 · github.com · its alternatives →
- 8

Postgres.js - The Fastest full featured PostgreSQL client for Node.js, Deno, Bun and CloudFlare - porsager/postgres
2022 · github.com · its alternatives →
- 9

GraphQL for Postgres. Contribute to solidsnack/GraphpostgresQL development by creating an account on GitHub.
2015 · github.com · its alternatives →
- 10

Broadcast, Presence, and Postgres Changes via WebSockets - supabase/realtime
2020 · github.com · its alternatives →
- 11

A high-performance Postgres replication engine written in Rust. Embed it in your Rust application or run it as a standalone binary. - supabase/etl
2024 · github.com · its alternatives →
- 12

PostgreSQL pooler with sharding, load balancing and failover support. - postgresml/pgcat
2022 · github.com · its alternatives →
- 13
Quailrunner▲178Low-code webhook initiation using your Postgres database
2024 · quailrunner.com · its alternatives →
- 14

Hi everyone, If you have a Java Spring Boot application with a PostgreSQL database, you can implement Event Sourcing without introducing new specialized databases or frameworks. If you have an application dealing with an entity called Order, you should adopt Event Sourcing to keep track of all changes, and know how the Order got into the current state. Event Sourcing gives you: 1. the true history of the system (audit and traceability), 2. the ability to put the system in any prior state (debugging), 3. the ability to create read projections from events as needed to respond to new demands.…
2023 · github.com · its alternatives →
- 15

Contribute to Z-Gort/Reservoirs-Lab development by creating an account on GitHub.
2024 · github.com · its alternatives →
- 16

Hi HN, we're excited to share our open source tool with the community! Inquery is a utility for Postgres that triggers webhooks when rows are inserted, updated, or deleted. It uses database triggers that send low-latency websocket messages to a Go application. This application then calls any configured webhooks with a JSON payload that includes specified values from the database row. Let us know if you have any feedback or questions!
2023 · github.com · its alternatives →
- 17

Kafka-based Job Queue for Python. Contribute to joowani/kq development by creating an account on GitHub.
2016 · github.com · its alternatives →
- 18

Logical multi-master PostgreSQL replication. Contribute to pgEdge/spock development by creating an account on GitHub.
2025 · github.com · its alternatives →
- 19

Hey all, I'm the creator of @pg-nano/pg-parser. I'm using it in pg-nano[1] to statically analyze Postgres schemas spread across multiple SQL files for a couple of reasons: 1. Each CREATE statement needs to be in topological order, so pg-nano's dev command can execute them without issue. 2. pg-nano has a plugin system like Vite that allows SQL generation based on the parsed schema. Probably to the surprise of no one, working with an untyped AST feels like you're back in the days of JavaScript, because well... you are. Most of you know by now just how great TypeScript and static types in…
2024 · github.com · its alternatives →
- 20

Blazing fast, instant realtime GraphQL APIs on all your data with fine grained access control, also trigger webhooks on database events. - graphql-engine/community/tools/json2graphql at master · hasura/graphql-engine
2019 · github.com · its alternatives →
- 21

Non-interactive PostgreSQL query tool. Contribute to soheilpro/pgcmd development by creating an account on GitHub.
2019 · github.com · its alternatives →
- 22

Hey! I'm Andrei. I got frustrated by how people tend to build overcomplicated backend systems, being "motivated" by big tech case studies and popular books. So, I started exploring lean architecture, and building my digital garden of ideas, approaches and data that align with this direction. Here I want to present one of the tools – Sizing tool for PostgreSQL. I've benchmarked PostgreSQL on different EC2 instances and disks, with different initial data sets to see performance that these instances can give you. And I've built a tool to visualize this data, which I welcome you to explore. So,…
Jul 2026 · postgres.saneengineer.com · its alternatives →
- 23
Postquel▲70A fast, native PostgreSQL client for macOS, with an AI assistant that uses the Claude Code, Codex or Cursor account already on your Mac.
17d ago · frizky.dev · its alternatives →
- 24

2020 · github.com · its alternatives →
Also compare
- PgQueuer – Transform PostgreSQL into a Job Queue alternatives
- Honker – Postgres NOTIFY/LISTEN Semantics for SQLite alternatives
- PostgreSQL Pub/Sub for Node/TypeScript alternatives
- Peerdb Streams – Simple, native Postgres change data capture alternatives
- ElectricSQL, Postgres to SQLite active-active sync for local-first apps alternatives
- 1M rows/s from Postgres to Python alternatives
Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →