4

What is the proper way to healthcheck Redis from application? Is there any analogue of sql: SELECT 1;?

Rudziankoŭ
  • 10,681
  • 20
  • 92
  • 192

1 Answers1

4

There is a PING command. Quoting from the redis documentation

This command is often used to test if a connection is still alive, or to measure latency.

msaw328
  • 1,459
  • 10
  • 18