storj / drpc
- суббота, 1 мая 2021 г. в 00:26:27
drpc is a lightweight, drop-in replacement for gRPC
A drop-in, lightweight gRPC replacement.
Please see:
DRPC is:
Compare with gRPC:
BenchmarkUnitary/GRPC-8 40166 29717 ns/op 8271 B/op 169 allocs/op
BenchmarkUnitary/DRPC-8 53380 21705 ns/op 2882 B/op 39 allocs/op
BenchmarkInputStream/GRPC-8 1308865 836.5 ns/op 370 B/op 11 allocs/op
BenchmarkInputStream/DRPC-8 449756 2555 ns/op 63 B/op 3 allocs/op
BenchmarkOutputStream/GRPC-8 1453718 910.2 ns/op 283 B/op 9 allocs/op
BenchmarkOutputStream/DRPC-8 455004 2571 ns/op 63 B/op 3 allocs/op
BenchmarkBidirectionalStream/GRPC-8 113724 10273 ns/op 873 B/op 40 allocs/op
BenchmarkBidirectionalStream/DRPC-8 218518 5396 ns/op 128 B/op 6 allocs/op
DRPC is licensed under the MIT/expat license. See the LICENSE file for more.