Kong's reliance on timers for features like caching and health checks has led to performance issues due to the limitations of OpenResty's timer system, which becomes a bottleneck as environments grow more complex. The introduction of lua-resty-timer-ng, a scalable timer library, aims to address these issues by using a timer wheel algorithm and a timer pool to efficiently manage and schedule a large number of timers while reducing CPU and memory usage. This new library also enhances performance analytics by collecting detailed statistics and generating flame graphs, aiding developers in analyzing timer impacts. Performance tests show that lua-resty-timer-ng outperforms the existing system, especially under heavy timer loads, and it has been incorporated into Kong Gateway 3.0 to boost efficiency. The development team plans to continue refining the library and encourages community contributions to further enhance its capabilities.