Skip to content

Instantly share code, notes, and snippets.

@PyYoshi
Created June 12, 2024 06:16
Show Gist options
  • Save PyYoshi/848799d118c977259930895ee0488c15 to your computer and use it in GitHub Desktop.
Save PyYoshi/848799d118c977259930895ee0488c15 to your computer and use it in GitHub Desktop.
grpc_bench results
-----------------------------------------------------------------------------------------------------------------------------------------
| name | req/s | avg. latency | 90 % in | 95 % in | 99 % in | avg. cpu | avg. memory |
-----------------------------------------------------------------------------------------------------------------------------------------
| rust_tonic_st | 135382 | 7.35 ms | 7.70 ms | 7.85 ms | 8.20 ms | 102.64% | 10.8 MiB |
| rust_tonic_mt | 132125 | 4.78 ms | 4.71 ms | 7.73 ms | 60.97 ms | 292.93% | 26.01 MiB |
| go_vtgrpc | 130477 | 5.27 ms | 7.58 ms | 11.60 ms | 56.48 ms | 426.83% | 31.52 MiB |
| go_grpc | 130185 | 5.49 ms | 8.97 ms | 14.64 ms | 54.79 ms | 499.59% | 27.77 MiB |
| rust_grpcio | 129512 | 5.23 ms | 4.86 ms | 7.34 ms | 61.04 ms | 258.63% | 158.94 MiB |
| rust_thruster_st | 128904 | 7.46 ms | 8.30 ms | 17.49 ms | 23.76 ms | 89.52% | 11.01 MiB |
| rust_thruster_mt | 120440 | 5.34 ms | 4.86 ms | 9.29 ms | 64.77 ms | 209.08% | 22.88 MiB |
| go_vtconnect | 102773 | 8.79 ms | 22.70 ms | 29.80 ms | 41.74 ms | 1156.18% | 81.96 MiB |
| go_connect | 101787 | 8.90 ms | 21.71 ms | 29.02 ms | 40.07 ms | 1188.99% | 77.73 MiB |
| node_grpcjs_st | 25246 | 39.52 ms | 50.94 ms | 53.38 ms | 55.31 ms | 139.89% | 68.96 MiB |
-----------------------------------------------------------------------------------------------------------------------------------------
Benchmark Execution Parameters:
160be4a Thu, 25 Apr 2024 16:18:16 +0200 GitHub Update sbt-assembly to 2.2.0 (#446)
- GRPC_BENCHMARK_DURATION=30s
- GRPC_BENCHMARK_WARMUP=10s
- GRPC_SERVER_CPUS=16
- GRPC_SERVER_RAM=2048m
- GRPC_CLIENT_CONNECTIONS=50
- GRPC_CLIENT_CONCURRENCY=1000
- GRPC_CLIENT_QPS=0
- GRPC_CLIENT_CPUS=8
- GRPC_REQUEST_SCENARIO=complex_proto
- GRPC_GHZ_TAG=0.120.0
❯ uname -a
Linux x670e 6.8.0-35-generic #35-Ubuntu SMP PREEMPT_DYNAMIC Mon May 20 15:51:52 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
❯ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04 LTS
Release: 24.04
Codename: noble
❯ LANG=c sudo lshw -class processor -short
H/W path Device Class Description
========================================================================
/0/d processor AMD Ryzen 9 7950X3D 16-Core Processor
❯ LANG=c sudo lshw -class memory -short
H/W path Device Class Description
========================================================================
/0/0 memory 64KiB BIOS
/0/a memory 1MiB L1 cache
/0/b memory 16MiB L2 cache
/0/c memory 128MiB L3 cache
/0/10 memory 96GiB System Memory
/0/10/0 memory [empty]
/0/10/1 memory 48GiB DIMM Synchronous Unbuffered (Unregistered) 5600 MHz (0.2 ns)
/0/10/2 memory [empty]
/0/10/3 memory 48GiB DIMM Synchronous Unbuffered (Unregistered) 5600 MHz (0.2 ns)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment