mmukhi
mmukhi
Serialized data read from the wire often spans several data frames. The current `proto.Unmarshal` API requires that data from all these frames be copied to a slice. This extra copying(and...
One possible idea is to use a leaky buffer.
go run benchmark/benchmain/main.go -benchtime=10s -workloads=streaming -compression=off -maxConcurrentCalls=1000 -trace=off -reqSizeBytes=1048576 -respSizeBytes=1048576 -networkMode=LAN -cpuProfile=speedup.cpu
Number of entries and size of each entry should be tweaked through settings. Ideally we could independently configure client headers, server headers, and server trailers. It would be interesting to...