-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Labels
api-approvedAPI was approved in API review, it can be implementedAPI was approved in API review, it can be implementedarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Milestone
Description
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
services.Configure<NamedPipeTransportOptions>(o =>
{
o.ListenerQueueCount = 2;
});
Alternative Designs
Risks
Metadata
Metadata
Assignees
Labels
api-approvedAPI was approved in API review, it can be implementedAPI was approved in API review, it can be implementedarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions