penberg / tihku

Optimistic multi-version concurrency control (MVCC) for main memory databases, written in Rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Performance regression

penberg opened this issue · comments

Reads and updates are now capped at 3M ops per second.

I think the issue is around the AsyncMutex trait. I see mvcc::sync::tokio_mutex::lock() doing Box::pin(), for example, which is going to be expensive.