News for hackers. Stuff that matters.
Re:Kafka is Fast – I'll use Postgres by uberduper on Wednesday October 29, 2025 @11:48AM (#45748473)
I've never looked at redpanda, but kafka absolutely does not. Kafka uses mmapped files and the page cache to manage durable writes. You can configure it to fsync if you like.
Re:Kafka is Fast – I'll use Postgres by mxey on Wednesday October 29, 2025 @11:49AM (#45748490)
If I don’t actually want durable and consistent data, I could also turn off fsync in Postgres …
Re:Kafka is Fast – I'll use Postgres by mrkeen on Wednesday October 29, 2025 @12:24PM (#45749071)
The tradeoff here is that Kafka will still work perfectly if one of its instances goes down. (Or you take it down, for upgrades, etc.)

Can you lose one Postgres instance?

Re:Kafka is Fast – I'll use Postgres by zozbot234 on Wednesday October 29, 2025 @12:41PM (#45749382)
AIUI Postgres has high-availability out of the box, so it's not a big deal to "lose" one as long as a secondary can take over.
Re:Kafka is Fast – I'll use Postgres by mxey on Wednesday October 29, 2025 @01:20PM (#45750023)
Only replication is built-in, you need to add a cluster manager like Patroni to make it highly-available.