Redis upsert operation timeout during peak load
Problem Description During peak traffic periods the API gateway experiences timeouts when performing upsert operations (SET with NX/XX options or MSET) against a Redis cluster that serves as a write‑through cache. The observed symptoms include: HTTP 504 responses from the gateway. Client‑side logs such as: 2026-06-10T14:32:07.421Z ERROR redis-py.connection: ConnectionError: Error while reading from socket: timeout … Read more