News for hackers. Stuff that matters.
Re:Show HN: A bi-directional, persisted KV store that is fas... by mehrant on Monday March 17, 2025 @12:26PM (#43390175)
We provide some elements of ACID guarantees, but not full ACID compliance as traditionally defined in database systems:

Atomicity: Yes, for individual operations. Each key-value operation is atomic (it either completes fully or not at all).

Consistency: Partial. We ensure data validity through our conflict resolution strategies, but we don't support multi-key constraints or referential integrity.

Isolation: Limited. Operations on individual keys are isolated, but we don't provide transaction isolation levels across multiple keys.

Durability: Yes. Our persistence model allows for tunable durability guarantees with corresponding performance trade-offs.

So while we provide strong guarantees for individual operations, HPKV is not a full ACID-compliant database system. We've optimized for high-performance key-value operations with practical durability assurances rather than complete ACID semantics.

Re:Show HN: A bi-directional, persisted KV store that is fas... by gcbirzan on Monday March 17, 2025 @06:48PM (#43393533)
> Consistency: Partial. We ensure data validity through our conflict resolution strategies, but we don't support multi-key constraints or referential integrity.

That's not what consistency means in ACID.

> Durability: Yes. Our persistence model allows for tunable durability guarantees with corresponding performance trade-offs.

> ~600ns p50 for writes with disk persistence

I'm pretty sure there's no durability there. That statement is pretty disingenuous in itself, but it'd be nice to see a number for durability (which, granted, is not something you advertise the product for).

My main concern is that all these speed benefits are going to be eclipsed by the 0.5ms of network latency.

Re:Show HN: A bi-directional, persisted KV store that is fas... by cess11 on Tuesday March 18, 2025 @10:49AM (#43400135)
OK, thanks. Those tradeoffs aren't suitable for my purposes.