Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why do not use RPC to request another GroupCache instance #147

Open
seraph98 opened this issue Mar 26, 2021 · 1 comment
Open

Why do not use RPC to request another GroupCache instance #147

seraph98 opened this issue Mar 26, 2021 · 1 comment

Comments

@seraph98
Copy link

Hi, I am confused why do not use RPC protocal for requesting another GroupCache instancne, it might have better performance than HTTP.

@thrawn01
Copy link

thrawn01 commented Apr 7, 2021

groupcache uses HTTP2 for it's transport when configured correctly. You also have the option of using protobuf as the serialization method. Together these options can be much faster than using GPRC, which introduces a bit more overhead than just regular HTTP2 and Protobuf.

Also, you might not realize, GRPC uses HTTP2 as it's transport.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants