top | item 43390175

(no title)

mehrant | 11 months ago

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.

discuss

order

gcbirzan|11 months ago

> 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.

cess11|11 months ago

OK, thanks. Those tradeoffs aren't suitable for my purposes.