News for hackers. Stuff that matters.
Re:Jepsen: NATS 2.12.1 by johncolanduoni on Monday December 08, 2025 @05:23PM (#46198459)
It is if they’re in the same physical datacenter. Usually the way this is done is to wait for at least M replicas to fsync, but only require the data to be in memory for the rest. It smooths out the tail latencies, which are quite high for SSDs.
Re:Jepsen: NATS 2.12.1 by loeg on Monday December 08, 2025 @07:35PM (#46199796)
> It smooths out the tail latencies, which are quite high for SSDs.

I'm sorry, tail latencies are high for SSDs? In my experience, the tail latencies are much higher for traditional rotating media (tens of seconds, vs 10s of milliseconds for SSDs).

Re:Jepsen: NATS 2.12.1 by johncolanduoni on Monday December 08, 2025 @08:18PM (#46200145)
They’re higher relative to median latencies for each. A high end SSD’s P99/median is higher than a high end HDD. That’s the relevant metric for request hedging.
Re:Jepsen: NATS 2.12.1 by loeg on Monday December 08, 2025 @09:43PM (#46200665)
It's approximately a factor of 1000x for both.
Re:Jepsen: NATS 2.12.1 by senderista on Monday December 08, 2025 @05:51PM (#46198755)
You can push the safety envelope a bit further and wait for your data to only be in memory in N separate fault domains. Yes, your favorite ultra-reliable cloud service may be doing this.