Add NamedPipeTransportOptions.ListenerQueueCount property #46268
Labels
api-approved
API was approved in API review, it can be implemented
area-networking
Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Milestone
Background and Motivation
There are performance benefits of multiple listen queues with named pipes. This property allows someone to customize the number.
Proposed API
namespace Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes; public sealed class NamedPipeTransportOptions { + public int ListenerQueueCount { get; set; } = Math.Min(Environment.ProcessorCount, 16); }
Usage Examples
Alternative Designs
Risks
The text was updated successfully, but these errors were encountered: