borosr / db-benchmark

Compare concurrent write speed on Couchbase, MySQL and Cockroach

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DB Benchmark

MySQL

Single node cluster

  1. 10 worker, 100 cycles
Result is: All: 9.422958877s | AVG Cycle: 31.852427ms | AVG Write: 21.906415ms | AVG Read: 9.945909ms

CockroachDB with

Single node cluster

  1. 10 worker, 100 cycles
Result is: All: 10.239354801s | AVG Cycle: 93.977655ms | AVG Write: 81.972829ms | AVG Read: 12.004707ms

Cluster with 3 nodes

  1. 10 worker, 100 cycles
 Result is: All: 10.752906962s | AVG Cycle: 126.90278ms | AVG Write: 112.53225ms | AVG Read: 14.370384ms

About

Compare concurrent write speed on Couchbase, MySQL and Cockroach

License:GNU General Public License v3.0


Languages

Language:Go 86.8%Language:Shell 13.2%