Http.Sys server exposes a feature that lets you examine a request and then quickly 'proxy' it to another service on the same machine by transferring it to a different queue.
We could expose this as optional middleware that reads cluster/destination data and forwards requests using this mechanic.
Pros:
- Very fast/efficient
- Interops with IIS
Cons:
- You can't modify the request or observe the response.
Supported on .NET 6 and Win11.
Example:
dotnet/aspnetcore@f72785f#diff-66e5582beb1ea1594e35e4e0457f4676e3453bb34efecd2a9e69005ff17f06bbR55-R61
Http.Sys server exposes a feature that lets you examine a request and then quickly 'proxy' it to another service on the same machine by transferring it to a different queue.
We could expose this as optional middleware that reads cluster/destination data and forwards requests using this mechanic.
Pros:
Cons:
Supported on .NET 6 and Win11.
Example:
dotnet/aspnetcore@f72785f#diff-66e5582beb1ea1594e35e4e0457f4676e3453bb34efecd2a9e69005ff17f06bbR55-R61