mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-18 17:14:20 +01:00
MVCC for Rust
This is a work-in-progress Rust implementation of the Hekaton optimistic multiversion concurrency control algorithm.
Development
Run tests:
cargo test
Test coverage report:
cargo tarpaulin -o html
Run benchmarks:
cargo bench
Run benchmarks and generate flamegraphs:
echo -1 | sudo tee /proc/sys/kernel/perf_event_paranoid
cargo bench --bench my_benchmark -- --profile-time=5
References
Larson et al. High-Performance Concurrency Control Mechanisms for Main-Memory Databases. VLDB '11