A performance comparison between YARP and Nginx reverse proxies using identical test conditions shows YARP significantly outperforming Nginx with 3.6x higher throughput (36,662 vs 10,169 RPS at 200 users) and much lower latency (7.77ms vs 21.23ms p90). The test used a simple .NET API with k6 load testing across different user loads. YARP demonstrated better scalability and integration within .NET ecosystems, while Nginx performance remained relatively flat across all test scenarios.

6m read timeFrom milanjovanovic.tech
Post cover image
Table of contents
The Test APIYARP ConfigurationNginx SetupFull Docker Compose SetupLoad Testing with k6Performance ResultsKey Takeaways
2 Comments

Sort: