dotnet / dotnet/aspnetcore

Add benchmark scenarios to illustrate where Request Queuing benefits

Open
#11,339 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.