Show HN: Pgnudge - tell your app which Postgres tables just changed

Genuinely unsure if this is crazy or cool: looking for feedback.

pgnudge is a small async Python library that tells you which tables just changed in Postgres, so a cache or read model can refetch the moment the data moves. No row data - it tells you when and what to reload, you already know how to load it.

It leaves nothing persistent on the server (temp replication slot, dropped when the session ends) and needs no database driver — it speaks the walsender protocol itself. One dependency.

Not CDC (no before/after rows), not a queue (no durability). It moves wakefulness, not rows or work.

Repo: https://github.com/janbjorge/pgnudge

3 points jeeybee 3 months ago 0 comments

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton