3 ms·
> The AWS medium tested is a single core. The Azure is dual core. Context switching could account for the difference in preformance. Redis is mostly single-thr
by ihsw 13y ago
> The AWS medium tested is a single core. The Azure is dual core. Context switching could account for the difference in preformance.
Redis is mostly single-threaded.
http://redis.io/topics/latency http://redis.io/topics/latency
- dvirsky 13y agothe benchmark still has to run somewhere :) and it takes up CPU as well. running both the server and benchmark on one CPU reduces performance dramatically. On a 2 core EC2 machine the results are much closer. However if you ran the benchmark from a remote node, you can really compare apples to apples. But given that they both cost more or less the same, having one CPU still sucks just the same.
- gingerlime 13y agohttp://redis.io/topics/latency http://redis.io/topics/latency : Redis is mostly single threaded since actually from Redis 2.4 we use threads in Redis in order to perform some slow I/O operations in the background, mainly related to disk I/O Could this affect the benchmarks then? I don't know if it does, but if the benchmark is also writing to disk, wouldn't a dual core machine perform better?