A distributed key value store with replicas