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 | Efficiency · Latency-10K | 3 of 72 |
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 | 23 of 72 | 3264 |
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 | 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 |
| Efficiency | Latency-500K/8 | 1,024 | 207,055 | 5846940.7us | 11579392.0us | 755.1% | 235MiB |
| 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 |
| Database | Async DB | 1,024 | 248,628 | 3.47ms | 10.80ms | 5784.2% | 302MiB |
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 | |
|---|---|---|---|
| hical | 6562 | +101% | head to head |
| drogon | 4408 | +35% | head to head |
| cutelyst | 4387 | +34% | 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