PingCAP Style Guide

Guide to writing idiomatic code at PingCAP and in the TiKV project.

Project maintained by pingcap Hosted on GitHub Pages — Theme by mattgraham


The concurrency of your code is likely to have a large impact on its performance. Consider if and how code can be concurrent at the design phase. Design to avoid locking or other forms of synchronisation if code is performance-sensitive.


<< Unsafe code | ^ Contents ^