rails
Flagship · Ruby · engine: puma · standard configuration
Ruby on Rails (API mode) on Puma, multi-worker with one worker per CPU core.
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. 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 | 48 of 71 | 159 |
Every result
Alpha Round, 23 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 | 512 | 75,539 | 6.79ms | 80.30ms | 5662.9% | 7.9GiB |
| Connection | Baseline | 4,096 | 33,983 | 101.73ms | 345.20ms | 5112.6% | 7.7GiB |
| Connection | Pipelined | 512 | 306,971 | 26.51ms | 67.50ms | 6471.9% | 2.4GiB |
| Connection | Pipelined | 4,096 | 307,594 | 189.04ms | 401.40ms | 6443.5% | 2.5GiB |
| Connection | Short-lived | 512 | 27,385 | 18.68ms | 69.10ms | 4655.0% | 6.3GiB |
| Connection | Short-lived | 4,096 | 27,305 | 130.53ms | 280.40ms | 4643.2% | 6.7GiB |
| Workload | JSON | 4,096 | 125,696 | 29.15ms | 79.50ms | 6459.6% | 4.2GiB |
| Workload | JSON Comp | 512 | 83,822 | 6.10ms | 23.10ms | 6425.5% | 4.2GiB |
| Workload | JSON Comp | 4,096 | 83,754 | 43.34ms | 104.40ms | 6434.7% | 4.0GiB |
| Workload | JSON Comp | 16,384 | 84,821 | 101.89ms | 563.80ms | 6475.6% | 4.3GiB |
| Workload | JSON TLS | 4,096 | 116,223 | 34.54ms | 112.55ms | 6430.9% | 5.3GiB |
| Workload | Upload | 32 | 923 | 34.53ms | 126.60ms | 3060.2% | 11.3GiB |
| Workload | Upload | 256 | 892 | 271.99ms | 1.45s | 6350.3% | 8.3GiB |
| Workload | Static | 1,024 | 123,740 | 8.42ms | 74.85ms | 6506.0% | 9.0GiB |
| Workload | Static | 4,096 | 123,740 | 31.44ms | 245.21ms | 6472.2% | 9.0GiB |
| Workload | Static | 6,800 | 119,221 | 54.41ms | 584.59ms | 6499.9% | 9.2GiB |
| Workload | Static TLS | 1,024 | 103,733 | 10.00ms | 68.51ms | 6529.3% | 10.9GiB |
| Workload | Static TLS | 4,096 | 99,197 | 41.99ms | 541.93ms | 6455.9% | 11.6GiB |
| Workload | Static TLS | 6,800 | 99,183 | 67.27ms | 617.02ms | 6420.1% | 11.7GiB |
| Database | Async DB | 1,024 | 72,434 | 13.57ms | 28.90ms | 6399.4% | 3.4GiB |
| Database | CRUD | 4,096 | 59,226 | 66.44ms | 86.20ms | 4373.9% | 4.0GiB |
| Multi-endpoint | API-4 | 256 | 7,591 | 33.65ms | 115.10ms | 400.6% | 351MiB |
| Multi-endpoint | API-16 | 1,024 | 26,538 | 37.38ms | 124.50ms | 1687.0% | 1.1GiB |
How the benchmark is run · The machine · Add or fix an entry