Skip to content

Will grpc proxy's get request transparently transmit the request to etcd? #16808

Answered by jmhbnz
robotLJW asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @robotLJW - Thanks for your question, the etcd grpc proxy documentation is available here: https://etcd.io/docs/v3.5/op-guide/grpc_proxy

Relevant sections are:

To protect the cluster against abusive clients, it caches key range requests.

The gRPC proxy caches responses for requests when it does not break consistency requirements. This can protect the etcd server from abusive clients in tight for loops.

The key thing appears to be the mention of "consistency requirements" in the documentation above. Based on that I believe only serializable requests are cached. Refer to the API reference for context on serializable: https://etcd.io/docs/v3.5/dev-guide/api_reference_v3/#message-rang…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@robotLJW
Comment options

@robotLJW
Comment options

@serathius
Comment options

@robotLJW
Comment options

Answer selected by robotLJW
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment