refs:http://redis.io/topics/benchmarks#factors-impacting-redis-performance
- 網(wǎng)絡(luò)條件:大部分情況下渣慕,最先限制redis性能的是帶寬,而不是CPU
- CPU:排在網(wǎng)絡(luò)之后黎炉,redis更傾向于高性能高緩存的單核CPU,而非多核CPU没炒。Intel的CPU 比AMD 的好:AMD 經(jīng)常只有一半的成績——跟同級別的Intel CPU相比
- 內(nèi)存:當保存的object>10k的時候內(nèi)存的帶寬和速度的影響變得可觀起來输钩。
- redis在虛擬機中會變得更慢
- 當object大小超過MTU(http://networkengineering.stackexchange.com/questions/5057/what-is-the-actual-size-of-an-ethernet-mtu)時性能會下降
- The most efficient combination is always to put the client and server on two different cores of the same CPU to benefit from the L3 cache
- 當連接數(shù)上升時吞吐量會平緩下降
- 以及其他一些看不懂的……
看看就好具體去官網(wǎng)看……