{"repo":"dromara/dynamic-tp","free":true,"listed":false,"github":"https://github.com/dromara/dynamic-tp","clone":"git clone https://github.com/dromara/dynamic-tp.git","description":"A lightweight dynamic thread pool framework with built-in monitoring and alerting, unified third-party thread pool management, and support for popular configuration centers (Nacos, Apollo, Zookeeper, Consul, and Etcd), extensible via SPI。","language":"Java","stars":4797,"topics":["java","dynamic-threadpool","spring","nacos","apollo","micrometer","consul","springcloud","threadpool","threadpoolexecutor"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"A lightweight dynamic thread pool based on configuration centers, with built-in monitoring & alerting, middleware thread pool management, and SPI extensibility 🌐 中文 English Website: https://dynamictp.cn 🔥 --- Pain Points Have you encountered these issues when using ThreadPoolExecutor ? 1. You created a ThreadPoolExecutor , but have no idea what values to set for the core parameters. 2. You set parameters based on experience, only to find after deployment that they need adjustment — requiring code changes and redeployment. 3. Thread pools are a black box to developers. You can't monitor their behavior until something breaks. If so, DynamicTp may be the solution. ThreadPoolExecutor provides set/get methods and extension points for its core parameters, enabling runtime dynamic modification. 👉 ThreadPoolExecutor dynamic methods (click to expand) Most modern internet projects adopt microservice architecture with a service governance stack. The distributed configuration center plays a key role — enabling real-time configuration changes with instant effect. So, can we combine a configuration center to dynamically adjust thread pool parameters at runtime? Absolutely. Configuration centers are highly available, relieving concerns about config push failures and reducing the effort of building a dynamic thread pool solution from scratch. Background summary: - Ubiquity : Thread pools are a fundamental tool used by 90%+ of Java developers to improve system performance. - Uncertainty : ","default_branch":null,"files":null,"tree":[],"storefront":"/r/dromara","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dromara/dynamic-tp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}