Add benchmark scenarios to illustrate where Request Queuing benefits
Open
area-middleware
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 290
Description
Epic https://github.com/aspnet/AspNetCore/issues/10702
In general, we need scenarios that trigger thread-pool starvation (blocking thread-pool threads is the most common trigger). We suspect that I/O bound work won't necessarily improve RPS, but would improve memory usage. CPU bound work would likely improve RPS by reducing thread context switches.
We should evaluate both kinds of scenarios (I/O bound can be simulated with `Thread.Sleep`, CPU bound can be simulated by spinning the CPU).
Contributor guide
Assessment
This issue has not been assessed yet.