Achieving both low latency and strong consistency in large-scale systems