groupcache icon indicating copy to clipboard operation
groupcache copied to clipboard

Why do not use RPC to request another GroupCache instance

Open seraph98 opened this issue 4 years ago • 1 comments

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

seraph98 avatar Mar 26 '21 03:03 seraph98

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.

thrawn01 avatar Apr 07 '21 16:04 thrawn01