userver
Flagship · C++ · standard configuration · completeness 4/4
Asynchronous framework with a rich set of abstractions for fast and comfortable creation of C++ microservices, services and utilities
Achievements
🥉 1 Bronze. Top three of a field, taken in this entry's own league: the family composite, the same composite among entries written in the same language, and each test profile it is scored on. Every field is the one the badges publish, so a medal and a badge always say the same thing. How medals are awarded.
| Medal | Award | Field | Rank |
|---|---|---|---|
| 🥉 Bronze | Test profile | Workload · 8Gbit | 3 of 65 |
Composite rank
Each profile of a family is worth 100 to the entry that leads it, and the composite is the sum over the family, less 2.5% for each of routing, middleware, request and response the entry does not do for you - its completeness factor, which the WebSocket and gRPC families do not carry. The field is this entry's own league: engines and reverse proxies are scored apart from frameworks. How it works.
| Family | Rank | Composite |
|---|---|---|
| HTTP/1.1 | 21 of 71 | 3256 |
Every result
Alpha Round, 12 runs. Requests per second is the best of three; latency, CPU and memory come from that run.
| Category | Profile | Conns | Req/sec | Avg | p99 | CPU | Memory |
|---|---|---|---|---|---|---|---|
| Connection | Baseline | 4,096 | 1,019,661 | 4.02ms | 10.00ms | 6363.5% | 441MiB |
| Connection | Pipelined | 4,096 | 1,324,629 | 49.30ms | 66.00ms | 6703.8% | 899MiB |
| Connection | Short-lived | 4,096 | 872,918 | 4.68ms | 13.10ms | 6390.8% | 585MiB |
| Concurrency | Async Delay | 32,000 | 354,274 | 82.60ms | 391.30ms | 5109.8% | 2.4GiB |
| Efficiency | Latency-10K | 1,024 | 9,982 | 107.1us | 137.0us | 88.1% | 229MiB |
| Efficiency | Latency-1M | 1,024 | 978,433 | 256553.5us | 1072640.0us | 6262.4% | 252MiB |
| Efficiency | Latency-500K/8 | 1,024 | 196,967 | 5980878.6us | 11956224.0us | 787.3% | 272MiB |
| Workload | JSON Comp | 4,096 | 298,148 | 13.71ms | 28.90ms | 6523.9% | 604MiB |
| Workload | JSON Comp | 16,384 | 298,253 | 52.43ms | 201.20ms | 6525.1% | 1.6GiB |
| Workload | JSON TLS | 4,096 | 554,073 | 7.63ms | 109.65ms | 6557.0% | 739MiB |
| Workload | 8Gbit | 512 | 49,423 | 152.8us | 223.0us | 679.2% | 250MiB |
| Database | Async DB | 1,024 | 241,632 | 3.60ms | 10.90ms | 5700.2% | 308MiB |
Compared with
The C++ entries around userver on the HTTP/1.1 composite, and the one leading them. The last column shows every profile side by side.
| Entry | Composite | vs userver | |
|---|---|---|---|
| drogon | 4461 | +37% | head to head |
| hical | 3349 | +3% | head to head |
| proxygen | 1227 | -62% | head to head |
| proxygen-coro | 1073 | -67% | head to head |
Compare userver with any C++ entry · Compare userver with any entry, in any language · Every C++ entry, ranked
Results updated · How the benchmark is run · The machine · Add or fix an entry