Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Why is redis so slow with azure redis?


Asked by Andrea Peters on Dec 10, 2021 Redis



Edit: Checking the SLOWLOG, Redis itself seems to actually hit slowlog with it's 14ms time it takes or so to grab the rows, but this is far from the actual transfer with SSL enabled. We ended up with a premium Redis to have some sort of security between Redis and Web Apps. It worked in my case.
Subsequently,
Scale to a larger cache size with more memory capacity. Scale to a larger cache size with more memory capacity. For more information, see Azure Cache for Redis planning FAQs. A high server load or CPU usage means the server can't process requests in a timely fashion. The server might be slow to respond and unable to keep up with request rates.
In addition, Redis persistence allows you to persist data stored in Redis cache. You can also take snapshots and back up the data which you can load in case of a failure. Redis Cluster automatically shards data across up to ten Redis nodes, so you can create larger workloads (up to 1.2 TB) and get better performance.
And,
Dig into your memory usage patterns to reduce memory consumption on the client. Upgrade your client VM to a larger size with more memory. Bursts of traffic combined with poor ThreadPool settings can result in delays in processing data already sent by the Redis Server but not yet consumed on the client side.
One may also ask,
AWS allows you to run Redis 5.0 servers, whereas Azure and Google Cloud Platform only allow Redis 4.0 servers. 1 Azure does not allow you to choose the Redis version to deploy. Azure Cache for Redis will always use the “generally available” version for new servers, and automatically upgrade existing servers.