redis icon indicating copy to clipboard operation
redis copied to clipboard

Make the health checker more flexible

Open mzimbres opened this issue 2 years ago • 0 comments

At the moment if the response to a health-check does not come under the time specified by the user, the connection will timeout. This is not flexible enough to deal with e.g. heavy load where the specified interval cannot be honored because e.g. it is processing too many pushes.

We can offer two options to users

  1. Inflexible checks: The connection times out if the specified interval is not honored. (Current implementation)
  2. Flexibel checks: Any incoming data, like server pushes are seen as a proof of health (and not only the response to a health-check).

Option 2. covers my own needs, we might not need option 1.

mzimbres avatar May 20 '23 20:05 mzimbres