Observations from people watching (skincontact.substack.com)
110 points by jger15 4h ago 49 comments
Ian Lance Taylor of the Go Team Leaves Google (airs.com)
7 points by todsacerdoti 29m ago 1 comments
Show HN: Experimental Postgres-to-SQLite Sync via Logical Replication
2 enadzan 0 5/10/2025, 9:22:46 PM github.com ↗
In a previous project, I had a few tables in Postgres that weren’t too large but were read frequently — things like configs, permissions, and feature flags. I thought it’d be cool to have a cache for them with an SQL interface. I ended up loading them into memory and invalidating the cache when a user made changes.
Lately, I’ve been playing with PostgreSQL logical replication in C# (using Npgsql), and figured it could be used to keep those in-memory rows updated. If I stored them in SQLite, I could even query them using SQL or through an existing Entity Framework DbContext.
Haven’t tried it in a real project yet, but thought it was an interesting idea worth sharing.
No comments yet