Diagram
A five-step process flow for isolating Memorystore for Valkey latency: connect to a same-region, same-VPC Compute Engine VM, install valkey-tools, run redis-cli --latency, collect samples for a few minutes, then stop with Ctrl+C and compare the average to the 1 ms baseline, with branches for healthy instance versus delay outside the instance.
Isolate Latency and Replace Blocking Operations
Isolating latency determines whether delay comes from the database instance, the client, or the network between them. For Memorystore for Valkey, the test runs from a Compute Engine virtual machine (VM) in the same region and virtual private cloud (VPC) network as the instance. The valkey-cli tool pings the server for a few minutes, and an average of 1 millisecond or less means the instance is healthy.
Run the isolation test in order:
Domain 2 of 5
78 practice questions
Practice this DomainLast updated