Skip to content

Instantly share code, notes, and snippets.

@shey
Last active August 29, 2015 14:27
Show Gist options
  • Save shey/14dc2ac9b7d3fcc0472f to your computer and use it in GitHub Desktop.
Save shey/14dc2ac9b7d3fcc0472f to your computer and use it in GitHub Desktop.

latency

redis-cli -a PASSWORD --latency min: 0, max: 630, avg: 0.26 (17576 samples)

.26 ms = 260 microseconds

The typical latency for a 1Gb/s network is about 200 μs.

https://www.datadoghq.com/wp-content/uploads/2013/09/Understanding-the-Top-5-Redis-Performance-Metrics.pdf

intrinsic latency

redis-cli -a PASSWORD --intrinsic-latency 100

  1. Max latency so far: 8 microseconds.
  2. Max latency so far: 35 microseconds.
  3. Max latency so far: 36 microseconds.
  4. Max latency so far: 44 microseconds.
  5. Max latency so far: 46 microseconds.
  6. Max latency so far: 50 microseconds.
  7. Max latency so far: 185 microseconds.
  8. Max latency so far: 212 microseconds.
  9. Max latency so far: 243 microseconds.
  10. Max latency so far: 379 microseconds.
  11. Max latency so far: 745 microseconds.
  12. Max latency so far: 1023 microseconds.
  13. Max latency so far: 1290 microseconds.
  14. Max latency so far: 1645 microseconds.
  15. Max latency so far: 2543 microseconds.
  16. Max latency so far: 2737 microseconds.
  17. Max latency so far: 5317 microseconds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment