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 Gold. 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 |
|---|---|---|---|
| 🥇 Gold | Test profile | Efficiency · Latency-10K | 1 of 88 |
Composite rank
Each profile of a family is worth its weight × 1,000 to the entry that leads it - 1, or 0.5 apiece for two profiles that measure one thing - 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 | 37 of 88 | 2069 |
Every result
Alpha Round, 10 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 | 949,125 | 4.32ms | 14.10ms | 6073.8% | 437MiB |
| Connection | Pipelined | 4,096 | 1,395,512 | 46.69ms | 62.30ms | 6698.4% | 884MiB |
| Connection | Short-lived | 4,096 | 899,465 | 4.54ms | 12.50ms | 6134.7% | 583MiB |
| Concurrency | Async Delay | 32,000 | 408,981 | 74.34ms | 320.50ms | 5635.3% | 2.8GiB |
| Efficiency | Latency-10K | 1,024 | 9,983 | 103.1us | 134.0us | 84.7% | 193MiB |
| Efficiency | Latency-1M | 1,024 | 991,943 | 94711.8us | 296064.0us | 6235.8% | 224MiB |
| Workload | JSON Comp | 4,096 | 297,311 | 13.76ms | 28.70ms | 6317.8% | 601MiB |
| Workload | JSON Comp | 16,384 | 295,083 | 53.04ms | 205.90ms | 6554.0% | 1.5GiB |
| Workload | JSON TLS | 4,096 | 562,062 | 7.62ms | 134.99ms | 6298.2% | 630MiB |
| Workload | 8Gbit | 512 | 49,335 | 150.8us | 203.0us | 657.5% | 223MiB |
Compared with
The C++ web frameworks around userver on the HTTP/1.1 composite, and the one leading them. Entries of other leagues are left out: a composite does not carry from one league to another. The last column shows every profile side by side.
| Entry | Composite | vs userver | |
|---|---|---|---|
| cinatra | 6508 | +215% | head to head |
| cutelyst | 3206 | +55% | head to head |
| drogon | 3080 | +49% | 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