Introduction
We introduced Redis production deployment and routine administration tasks in the previous chapters. Even if you have carefully deployed Redis instances and done the administration, troubleshooting is inevitable once the Redis service is online. This chapter will detail the most critical troubleshooting mechanisms of Redis.
First, we will start with daily health checking. This could give us early warnings before a disaster happens. Then, we will introduce how to identify the slow queries or operations using the SLOWLOG
Redis command. After that, we will discuss how to handle latency and memory issues in detail. Finally, we will cover the debugging mechanisms when a Redis instance crashes.