Skip to content

Socket Exhaustion

3 posts3 contributors

+ FollowBe the first to follow this
Write about it

Articles about Socket Exhaustion

  1. How to Use HttpClientFactory in .NET Core to Avoid Socket Exhaustion

    Learn how to use IHttpClientFactory in .NET Core to prevent socket exhaustion and improve performance. Discover named & typed clients, resilience with Polly, and best practices.

    Aarav PatelAarav Patel2,1281,000
  2. Understanding HttpClient Best Practice

    Creating a new HttpClient instance frequently can lead to performance issues like socket exhaustion due to open sockets lingering in the TIME_WAIT state. Instead, reuse a singleton HttpClient instance to avoid these issues.

    Devesh OmarDevesh Omar4,8101,000
  3. IHttpClientFactory In .NET Core To Avoid Socket Exhaustion

    Learn how to effectively use HttpClient and IHttpClientFactory in .NET Core applications. Avoid common pitfalls of creating new HttpClient instances per request, leading to socket exhaustion. Discover how IHttpClientFactory manages HttpMessageHandler lifetimes, ensuring efficient API calls and resource management.

    Rohit RaoRohit Rao64,8141,000