dromara/dynamic-tp

A lightweight dynamic thread pool framework with built-in monitoring and alerting, unified third-party thread pool management, and support for popular...

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 8 minutes ago
Added to GitGenius on September 14th, 2026
Created on January 7th, 2022
Open Issues & Pull Requests: 32 (+0)
GitHub issues: Enabled
Number of forks: 860
Total Stargazers: 4,807 (+0)
Total Subscribers: 57 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.7 hours
Mean response time: 33.0 days
90th percentile: 38.5 days
Tracked items: 80

Most active contributors

Sign in to see contributor activity.

How this project is maintained

86% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Three people close 91% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 21
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 592 days
Stale 30+ days: 20
Stale 90+ days: 19

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • question (34)
  • bug (21)
  • feature (21)
  • optimize (6)
  • compatibility (3)
  • refactor (2)
  • invalid (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Dynamic-tp is a lightweight dynamic thread pool framework that enables runtime adjustment of thread pool parameters through configuration centers.

The tool addresses the challenge of configuring thread pool parameters without visibility into their behavior. Standard ThreadPoolExecutor requires developers to guess optimal core parameters upfront, and any needed adjustments demand code changes and redeployment. Dynamic-tp solves this by integrating with distributed configuration centers—Nacos, Apollo, Zookeeper, Consul, and Etcd—to push parameter changes in real time without requiring application restarts. The framework wraps ThreadPoolExecutor and exposes its built-in set/get methods as dynamic modification points, allowing core parameters to be tuned at runtime. It adds monitoring and alerting capabilities to make thread pool behavior visible during operation, addressing the black-box nature of standard thread pools.

Projects with multiple thread pools handling varied workloads—IO-intensive and CPU-intensive tasks—benefit most from this approach. Teams already running a configuration center can adopt dynamic-tp with minimal overhead, since it leverages existing infrastructure rather than requiring a separate management system. The tool is particularly suited to microservice architectures where configuration governance is already established. It provides unified management of third-party thread pools used by frameworks like Dubbo, gRPC, and RocketMQ, consolidating monitoring across the application.

The project maintains active engagement with pull requests and issues receiving responses. Development includes regular updates to support additional configuration centers and integrations with popular frameworks. The codebase demonstrates ongoing refinement of core functionality and expansion of monitoring capabilities through metrics integration.