Skip to content

Comment on Show HN: Pg_replicate – Build Postgres replication applications in Rustparent

Comments

I've recently been playing with the logical replication protocol, and it enables all kinds of interesting usages. one really cool thing is that you see the transactional boundaries, so not only can you write a cache, you can do so in a way thats internally consistent.

its also inherently much nicer than listen/notify, since you don't have to go back and figure out what data was associated with the event

Yes, logical replication complements very nicely the normal way of interacting with the database via queries. This inverted flow makes those apps possible which were hard/impossible to build with just queries.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.