Files
turso/core/mvcc
Pekka Enberg 0f956fa179 Use Criterion's throughput estimation
Iteration time is of course interesting, but let's also use throughput
estimation on MVCC operations such as read(), begin_tx(), etc..
2023-04-14 11:59:36 +03:00
..
2023-04-14 10:46:08 +02:00
2023-04-14 09:53:57 +02:00
2023-04-08 15:14:05 +03:00
2023-04-08 15:14:05 +03:00
2023-04-13 10:09:13 +03: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