Help Center/ Distributed Cache Service/ FAQs/ Client and Network Connection/ Why Do Requests Sometimes Time Out in Clients?
Updated on 2023-11-30 GMT+08:00

Why Do Requests Sometimes Time Out in Clients?

Occasional timeout errors are normal because of network connectivity and client timeout configurations.

You are advised to include reconnection operations into your service code to avoid service failure if a single request fails.

When a connection times out, check whether AOF persistence is enabled for Redis. Then, determine whether to enable the function (learn about the impact of AOF persistence) as required. Disabling AOF persistence improves stability and reduces blocking on the client to prevent connection failures.

If timeout errors occur frequently, contact technical support.