tikv/tikv

benchmark: support bench transaction directly

Ouverte

#2 529 ouverte le 30 nov. 2017

 (0 commentaire) (0 réaction) (0 personne assignée)Rust (2 189 forks)batch import
help wantedsig/transactiontype/benchmarktype/enhancement

Métriques du dépôt

Stars
 (15 922 étoiles)
Métriques de merge PR
 (Merge moyen 28j 9h) (68 PRs mergées en 30 j)

Description

Now, if we want to verify whether our transaction optimization works well or not, we have to run the whole TiDB cluster, but we can use a minimal benchmark at first.

We can call the Txn API (Get, Prewrite, Commit, Rollback, etc.) directly on a local RocksDB and use multiple threads to simulate the concurrency.

Guide contributeur