Tagged articles
2 articles
Page 1 of 1
FunTester
FunTester
Apr 10, 2024 · Backend Development

Why Caffeine’s Default Scheduler Skips Expired Eviction and How to Enable It

This article explains why Caffeine’s default scheduler (disabledScheduler) does not trigger RemovalListener on expired entries, details the three cache cleanup strategies, compares the four built‑in schedulers, and shows how to configure a functional scheduler with code examples.

CacheCaffeineJava
0 likes · 9 min read
Why Caffeine’s Default Scheduler Skips Expired Eviction and How to Enable It
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.

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