dotnet / dotnet/yarp

Enforce data rates between the proxy and destination

Open
#418 2 comments 0 reactions 0 assignees View on GitHub
Type: Idea
Dominant language
C#
Stars
9.6k
Forks
933
Avg merge
12d 18h
Merged PRs (30d)
2

Description

YARP should consider enforcing configurable minimum data rates when sending request body data to the destination and receiving response body data. AspNetCore servers have a similar feature for inbound and outbound data.

In the common case the request body will be fully uploaded before the response headers are received, so the request timeout will apply to that direction. The request timeout also includes the full processing time on the destination. There is currently no timeout for the response body after the response headers.

Timeouts don't scale well with large request and response bodies, data rates work better.

In the gRCP streaming and WebSocket scenarios you don't want any timeouts or fixed rates (?).

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.