On startup Redis loads the database.

We check if redis is 'alive' by executing 'redis-cli ping'. But ping is successful also when the database is not yet loaded.

Is there a better check - to check if the database is already loaded?

Comment From: sundb

redis-cli INFO Persistence | grep loading 1: in loading 0: loaded