Skip to main content

Nginx

Nginx is a high-performance open-source web server, reverse proxy, and load balancer. In Virtual Client, the Nginx workload measures web server performance by serving static content of configurable sizes over HTTPS and measuring throughput and latency under sustained load. The HTTP load is generated by the Wrk or Wrk2 toolsets.

What is Being Measured?

The Nginx workload measures the throughput and latency of an Nginx web server serving static files of a configurable size. The Wrk (or Wrk2) client tool generates concurrent HTTP/HTTPS requests across different connection counts and thread configurations to characterize server performance at varying load levels.

The following scenarios are included in the standard profile:

ScenarioConnectionsDescription
Latency_100_Connections100Low-concurrency baseline measurement at full thread count.
Latency_1K_Connections1,000Medium-concurrency measurement at full thread count.
Latency_5K_Connections5,000High-concurrency measurement at full thread count.
Latency_10K_Connections10,000Very high-concurrency measurement at full thread count.
Latency_100_Connections_Thread/2100Low-concurrency measurement at half the logical core count.
Latency_1K_Connections_Thread/21,000Medium-concurrency measurement at half the logical core count.
Latency_5K_Connections_Thread/25,000High-concurrency measurement at half the logical core count.
Latency_10K_Connections_Thread/210,000Very high-concurrency at half the logical core count.
Latency_100_Connections_Thread/4100Low-concurrency measurement at one quarter of the logical core count.
Latency_1K_Connections_Thread/41,000Medium-concurrency measurement at one quarter of the logical core count.
Latency_5K_Connections_Thread/45,000High-concurrency measurement at one quarter of the logical core count.
Latency_10K_Connections_Thread/410,000Very high-concurrency at one quarter of the logical core count.
Latency_100_Connections_Thread/8100Low-concurrency measurement at one eighth of the logical core count.
Latency_1K_Connections_Thread/81,000Medium-concurrency measurement at one eighth of the logical core count.
Latency_5K_Connections_Thread/85,000High-concurrency measurement at one eighth of the logical core count.
Latency_10K_Connections_Thread/810,000Very high-concurrency at one eighth of the logical core count.

Workload Metrics

The following metrics are examples of those captured by the Virtual Client when running the Nginx workload. Latency values are normalized to milliseconds by the parser regardless of the unit reported by Wrk (nanoseconds, microseconds, milliseconds, or seconds).

Tool NameMetric NameExample ValueUnit
Wrklatency_p501.234milliseconds
Wrklatency_p752.456milliseconds
Wrklatency_p903.678milliseconds
Wrklatency_p998.901milliseconds
Wrklatency_p99_915.432milliseconds
Wrklatency_p99_9920.987milliseconds
Wrklatency_p99_99930.123milliseconds
Wrklatency_p10045.678milliseconds
Wrkrequests/sec25432.56requests/sec
Wrktransfers/sec312.45megabytes/sec
Wrk2latency_p501.234milliseconds
Wrk2latency_p752.456milliseconds
Wrk2latency_p903.678milliseconds
Wrk2latency_p998.901milliseconds
Wrk2latency_p99_915.432milliseconds
Wrk2latency_p99_9920.987milliseconds
Wrk2latency_p99_99930.123milliseconds
Wrk2latency_p10045.678milliseconds
Wrk2requests/sec25432.56requests/sec
Wrk2transfers/sec312.45megabytes/sec
Wrk2uncorrected_latency_p501.567milliseconds
Wrk2uncorrected_latency_p752.789milliseconds
Wrk2uncorrected_latency_p904.012milliseconds
Wrk2uncorrected_latency_p999.345milliseconds
Wrk2uncorrected_latency_p99_916.789milliseconds
Wrk2uncorrected_latency_p99_9925.678milliseconds
Wrk2uncorrected_latency_p99_99935.123milliseconds
Wrk2uncorrected_latency_p10050.456milliseconds