O'Reilly logo

Mastering Redis by Jeremy Nelson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hardware and network latencies

In your application, performance issues can easily be mistaken for out-of-memory issues with your Redis database when the problem may have to do more with hardware or network latencies between your client application and your backend server. Latency, as understood in the Redis community, is broken down in three ways:

  • Command latency: This is the amount of time it takes to execute a command. Some commands are fast and operate in O(1) while other commands have O(n) time complexity and are thereby a likely source of this type of latency.
  • Round-trip latency: The time between when a client issues a command and then receives the response from the Redis server that can be caused by network congestion.
  • Client-latency: If multiple ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required