The problem is most likely latency - while redis can handle many thousands of operations per second, a single synchronous connection will spend most of it's time waiting for the network. Your test loop is actually something like: Client Network Server send GET 1ms Process GET (0.01 ms) 1ms Result received So the operation takes a total time of 2.01ms, but both client and server were idle for almost all of that. This means that you can make good use of parallelism - split your loop across 100 threads so there is no waiting on the network and you can get 100 results in the same 2ms The difference in ubuntu is probably due to the fact that you are running it on the same server as redis - even though you are using IP rather than unix sockets, localhost has much lower latency than any connection between different servers.
The problem is most likely latency - while redis can handle many thousands of operations per second, a single synchronous connection will spend most of it's time waiting for the network. Your test loop is actually something like: Client Network Server send GET 1ms Process GET (0.01 ms) 1ms Result received So the operation takes a total time of 2.01ms, but both client and server were idle for almost all of that. This means that you can make good use of parallelism - split your loop across 100 threads so there is no waiting on the network and you can get 100 results in the same 2ms.
The difference in ubuntu is probably due to the fact that you are running it on the same server as redis - even though you are using IP rather than unix sockets, localhost has much lower latency than any connection between different servers.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.