If you have a comparable production server in place, measuring its actual load patterns over a period of time can go a long way towards getting accurate concurrency rates and is highly recommended.
Studying concurrency bug patterns is a good way to discover the pitfalls of multithreaded programming and will help you master the subtleties of its idioms.
研究并发缺陷模式是一个发现多线程编程问题的好方法,也有利于掌握这些方法的微妙之处。
3
For cache access concurrency, there are 3 implementation patterns.