Latency in Redis operations with Elasticache in cross-region. #2361
Unanswered
awesomejavacoder
asked this question in
Q&A
Replies: 1 comment 1 reply
-
You can enable command latency metrics so that you can introspect which command took how long. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Lettuce Team👋
We are facing latency issue while doing all Redis operations. We are using Spring boot with embedded Netty and using Reactive Lettuce API. For Redis, we are using AWS Elasticache, with redis engine 6.x. Here are some observations:
The container is able to access other upstream endpoints via WebClient pretty fast. So it doesn't like Netty is resolving slowly.
I tried to set the logging at TRACE level, but I hardly see any logs from Lettuce library, on how it is establishing connection to the Redis host and reading data etc.
This only happens when we have container in region us-west-2 and Redis host in region us-east-1. When the container and the Redis host are in the same region, no issues absolutely, and operations are getting done in under a sec.
Appreciate any help and suggestions at your earliest!
Beta Was this translation helpful? Give feedback.
All reactions