func keyFunc(req *pb.RangeRequest) string {
	// TODO: use marshalTo to reduce allocation
	b, err := req.Marshal()
	if err != nil {
		panic(err)
	}
	return string(b)
}
func keyFunc(req *pb.RangeRequest) string {
	
	b, err := req.Marshal()
	if err != nil {
		panic(err)
	}
	return string(b)
}
func keyFunc ( req * pb . RangeRequest ) string { // TODO: use marshalTo to reduce allocation b , err := req . Marshal ( ) if err != nil { panic ( err ) } return string ( b ) }
// keyFunc returns the key of a request, which is used to look up its caching response in the cache.
keyFunc returns the key of a request which is used to look up its caching response in the cache .