|
|
|
|
|
by velox_io
3556 days ago
|
|
There's literally a dozen ways to structure/ design a storage engine, every one of them has their pros and con's. MVCC is so popular because it makes ACID compliance much easier to implement, but there is some additional read latency (and management overhead) because storage layout is disconnected from the natural layout. A storage engine which sticks to the basics could be very fast, with predictable low-latency. With regards to threading. I know locks are a dirty word, but you do need a single version of truth somewhere. Either this is done through locking or an allocator. Going single-threaded is a valid way to remove the overhead of locking (plus no race conditions!). Hopefully a single writer, multiple readers is available soon. |
|