Tagged articles

Resource Limiting

3 articles · Page 1 of 1
LuTiao Programming
LuTiao Programming
Sep 7, 2026 · Backend Development

Virtual Threads Eliminated Thread Pools — Until MySQL Connections Ran Out

After upgrading to Java 25 and Spring Boot 4, the author enabled virtual threads and removed custom thread pools for IO-heavy aggregation endpoints. While code simplified dramatically, the bottleneck shifted from thread exhaustion to HikariCP connection pool exhaustion, revealing that virtual threads don't increase downstream capacity. The solution: limit scarce resources (DB connections, HTTP clients) directly rather than limiting threads.

ConcurrencyHikariCPIO-bound
0 likes · 12 min read
Virtual Threads Eliminated Thread Pools — Until MySQL Connections Ran Out
政采云技术
政采云技术
Aug 9, 2022 · Backend Development

Handling Data Surge in a Data Push Platform: JVM Tuning, Flow Control, and Performance Optimization

This article analyzes the challenges of data‑burst scenarios in a data‑push platform, evaluates traditional throttling methods, presents JVM‑level tuning and a custom heap‑usage based flow‑control mechanism, and validates the solution through extensive pressure testing, demonstrating significant reductions in full GC frequency and overall push latency.

BackendFlow ControlGC
0 likes · 22 min read
Handling Data Surge in a Data Push Platform: JVM Tuning, Flow Control, and Performance Optimization