From d7cafbdcd80cfc95771743984d9678d6919df983 Mon Sep 17 00:00:00 2001 From: Tom Dykstra Date: Tue, 27 Jun 2023 09:21:21 -0700 Subject: [PATCH] Add EnableKernelResponseBuffering option to what's new (#29648) --- aspnetcore/release-notes/aspnetcore-8.0.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/aspnetcore/release-notes/aspnetcore-8.0.md b/aspnetcore/release-notes/aspnetcore-8.0.md index 75ce873deb..b222220d35 100644 --- a/aspnetcore/release-notes/aspnetcore-8.0.md +++ b/aspnetcore/release-notes/aspnetcore-8.0.md @@ -4,7 +4,7 @@ author: rick-anderson description: Learn about the new features in ASP.NET Core 8.0. ms.author: riande ms.custom: mvc -ms.date: 06/22/2023 +ms.date: 06/26/2023 uid: aspnetcore-8 --- # What's new in ASP.NET Core 8.0 @@ -296,6 +296,14 @@ For more information, see and buffer in the `HTTP.sys` implementation. To improve performance in these scenarios, support for response buffering has been added to `HTTP.sys`. Enable buffering by setting [HttpSysOptions.EnableKernelResponseBuffering](https://github.com/dotnet/aspnetcore/blob/main/src/Servers/HttpSys/src/HttpSysOptions.cs#L120) to `true`. + +Response buffering should be enabled by an app that does synchronous I/O, or asynchronous I/O with no more than one outstanding write at a time. In these scenarios, response buffering can significantly improve throughput over high-latency connections. + +Apps that use asynchronous I/O and that may have more than one write outstanding at a time should **_not_** use this flag. Enabling this flag can result in higher CPU and memory usage by HTTP.Sys. + ## Authentication and authorization ASP.NET Core 8 adds new features to authentication and authorization.