Tag

objectpool

0 views collected around this technical thread.

Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
Sep 10, 2021 · Backend Development

Using Object Pools in .NET (Core) to Reduce GC Overhead and Improve Performance

This article explains how .NET's Microsoft.Extensions.ObjectPool framework can be used to reuse objects, customize pooling policies, integrate with dependency injection, and extend pooling to collections, StringBuilder, arrays and memory buffers, thereby minimizing garbage‑collection pressure and boosting application throughput.

DependencyInjectionMemoryManagementcsharp
0 likes · 29 min read
Using Object Pools in .NET (Core) to Reduce GC Overhead and Improve Performance