我们正在使用不同的redis版本,并且看到写入数据所花费的时间差别很大。
我们已经测试了1个HMGets和25000个密钥2个不同版本的redis:
version 3.2.4 redis = 295 ms version 3.0.2 redis = 299 ms Fast version --> 3.2.4
version 3.2.4 redis = 282 ms version 3.0.2 redis = 272 ms Fast version --> 3.0.2
version 3.2.4 redis = 311 ms version 3.0.2 redis = 277 ms Fast version --> 3.0.2
version 3.2.4 redis = 275 ms version 3.0.2 redis = 271 ms Fast version --> 3.0.2
version 3.2.4 redis = 276 ms version 3.0.2 redis = 610 ms Fast version --> 3.2.4
version 3.2.4 redis = 3032 ms version 3.0.2 redis = 261 ms Fast version --> 3.0.2
version 3.2.4 redis = 1753 ms version 3.0.2 redis = 257 ms Fast version --> 3.0.2
version 3.2.4 redis = 908 ms version 3.0.2 redis = 251 ms Fast version --> 3.0.2
version 3.2.4 redis = 616 ms version 3.0.2 redis = 257 ms Fast version --> 3.0.2
version 3.2.4 redis = 491 ms version 3.0.2 redis = 1281 ms Fast version --> 3.2.4
version 3.2.4 redis = 445 ms version 3.0.2 redis = 273 ms Fast version --> 3.0.2
version 3.2.4 redis = 410 ms version 3.0.2 redis = 270 ms Fast version --> 3.0.2
version 3.2.4 redis = 369 ms version 3.0.2 redis = 277 ms Fast version --> 3.0.2
version 3.2.4 redis = 362 ms version 3.0.2 redis = 263 ms Fast version --> 3.0.2
version 3.2.4 redis = 4114 ms version 3.0.2 redis = 1302 ms Fast version --> 3.0.2
version 3.2.4 redis = 901 ms version 3.0.2 redis = 282 ms Fast version --> 3.0.2
version 3.2.4 redis = 593 ms version 3.0.2 redis = 272 ms Fast version --> 3.0.2
version 3.2.4 redis = 488 ms version 3.0.2 redis = 266 ms Fast version --> 3.0.2
version 3.2.4 redis = 4109 ms version 3.0.2 redis = 1296 ms Fast version --> 3.0.2
version 3.2.4 redis = 3996 ms version 3.0.2 redis = 284 ms Fast version --> 3.0.2
version 3.2.4 redis = 14793 ms version 3.0.2 redis = 286 ms Fast version --> 3.0.2
在redis中写字时有人注意到这个增量吗?这是什么原因?
谢谢。