oflyingc / RPC-TEST

test performance of gRPC and Thrift. All services are implemented as HelloWorld by Java, Scala and Golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Thrift and gRPC performance test

use a simple "helloworld" prototype to test thrift and gRPC. All servers and clients are implemented by Golang, Java And Scala

Test result as follows (milliseconds/10000 calls). The first value is using one client to test servers and the second value is using 20 clients to test concurrently.

Golang Java Scala
Thrift 470/231 404/381 387/355
gRPC 1375/970 4478/4205 4733/448

About

test performance of gRPC and Thrift. All services are implemented as HelloWorld by Java, Scala and Golang


Languages

Language:Shell 38.4%Language:Java 32.1%Language:Scala 17.2%Language:Go 9.3%Language:Protocol Buffer 2.4%Language:Thrift 0.5%