5 ms·
> So there is no overhead. Other than going through the kernel to talk to a library..
by biokoda 10y ago
> So there is no overhead.
Other than going through the kernel to talk to a library..
- shenli3514 10y agoWe use RocksDB as the single-machine storage engine and build TiKV above RocksDB as a distributed storage engine. At first we consider use Go to build TiKV, but the cgo overhead between TiKV and Rocksdb is considerable. So we turn to Rust. The network communication overhead between TiDB and TiKV has nothing to do with cgo.