How much latency will moving Redis session storage to a managed service add?
#1
I'm trying to decide if we should move our stateful session storage from our on-prem Redis cluster to a managed database service, but I'm worried about the latency impact on user experience. Our current setup is tightly coupled with the app servers, and I'm not sure if the network hop to a cloud provider's managed service will introduce noticeable lag during peak traffic.
Reply
#2
We tried a move last quarter from our on prem Redis to a managed service and saw latency creep up at peak. The app servers got one extra hop and p99 latency rose by tens of milliseconds in the worst hours. We ran a small pilot in a single region and tracked response times under load, which convinced me to slow down and plan more changes before a full cutover.
Reply
#3
After we eventually switched we added a direct peering path and kept the most active sessions on a nearby region, and the spikes softened a bit. Still the initial hit for new sessions felt noticeable in heavy traffic but not fatal.
Reply
#4
Maybe the real bottleneck was something else like how we serialize session data or how often we touch the store during a request. In our tests the storage lag did not always line up with user perceived delay, which was confusing and made me wonder if we were chasing the wrong problem.
Reply
#5
Would a colocated or hybrid approach help reduce risk while we test latency sensitive paths?
Reply


[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Forum Jump: