Features

Simple & Fast & Effective & Powerful

Easy

Easy to learn, Easy to develop, Easy to integrate, Easy to deploy.

Performant

At least equal performance with GPRC-GO.

Cross-platform

Binary protocol. little header with binary payload.

Service discovery

Besides direct communication, also support Zookeeper, Etcd and Consul registry.

Service governance

Support Failover, Failfast, Failtry. Support Random, Roundrobin, Weight, network quality, ConsistentHash, Geography load balancing.

Benchmark

  • CPU: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz, 32 cores
  • Memory: 32G
  • Go: 1.9.1
  • OS: CentOS 7 / 3.10.0-229.el7.x86_64

TPS

rpcx: 192300 request/second (grpc-go: 106886 request/second)

Mean/Median Time

rpcx: 25/12 ms (grpc-go: 46/41 ms)

Min Time

rpcx: 0 ms (grpc-go: 0 ms)

P99

rpcx: 246 ms (grpc-go: 170 ms)

Learn More