hi X 👋 I'm Rahul
– manage engineering teams @ Workflex
– OpenJDK Committer
– Postgres contributor
– ex-Oracle, Salesforce, Mastercard
Posting about JVM + database internals. Up for collaborating on systems/DB work, and for coffee in Dublin or a chat online ☕
If a commit ends on a WAL page boundary, pg_current_wal_insert_lsn() points past the next page's 24-byte header, so WAIT waits for the next WAL record. Instant on a busy primary, seconds on a quiet one.
Fixed for 19.1. Until then, set a TIMEOUT and fall back to the primary.
Postgres 19 shipped a built-in fix for the classic replica problem: you save, reload, and the old value is back. Write on the primary, then run WAIT FOR LSN on the replica before you read.
One 19.0 detail: roughly 1 in 2,000 waits can stall, and the culprit is 24 bytes long.
@Karthik287 i used it early but don't use it now, i honestly can't understand the problem it solves now, i basically use claude / subscription to do all what perplexity could do, not sure why would i need a separate subscription.
Been writing a serverless Postgres runtime lately, major components are in Rust, with some C. One part eventually had lots unsafe Rust, switched to C
I like Rust and still write it, keep coming back to how simple C is, and C23 helps: checked integer math and [[nodiscard]] is std
I'm hiring a full stack engineer for my team, fully remote role with offsites every quarter all around the world, team members work autonomously, apply here -> https://t.co/Ccr19oKAl6
@DeepknowledgeU Plenty of world-class software was built outside Google: Linux, Git, Postgres, SQLite, Python, LLVM, Rust, PyTorch, React, Kafka, DuckDB, and now Claude and ChatGPT. Not cracking that interview doesn't close the door.
@rishabhm Minus the name-calling, agree in principle. Big-O ignores cache coherence, false sharing, prefetching and a bunch of other things that dominate real runtime. And I'd say LeetCode is a poor signal not just for systems roles but for software engineering more broadly.
@kellabyte interesting, CockroachDB does something like that, ScyllaDB has a scheduler that does dynamic scheduling, curious if we could design a scheduler that reads table stats and could dynamically shift compute towards storage