Hippo4j manages application thread pools at runtime with parameter changes, alerts, metrics export, and approval workflows, targeting pain points like overloaded pools and silent queue growth.
Overview
Hippo4j addresses operational risks from ad hoc thread pool settings in Java services. It offers global oversight of thread pool instances, live changes to core size, max threads, queue capacity, and rejection policies without redeploying code.
Built-in alerting covers activity, queue depth, rejections, and long-running tasks, with rules to suppress duplicate notifications. Metrics can ship to logs, Prometheus, InfluxDB, Elasticsearch, or other collectors, and dashboards show runtime charts for custom time windows.
Extensions propagate context through pool tasks, wait for graceful shutdown deadlines, and adapt embedded Tomcat, Jetty, or Undertow pools plus Dubbo, Hystrix, RabbitMQ, RocketMQ, and Kafka consumer executors. Role-based change review requires admin approval for parameter updates.
Clients support Spring Boot versions from 1.5.x through 2.7.5 per project testing notes, with plugin hooks for custom thread pool behaviors.
Key features
- Runtime thread pool parameter changes
- Alerting on activity and rejections
- Prometheus and InfluxDB metric export
- Spring Boot client integration
- Container executor pool management
- Message queue consumer pool tuning
- Change approval roles
- Context propagation through pool tasks
Use cases
- Preventing thread pool exhaustion in production
- Tuning pools without redeploying Java apps
- Alerting on slow or rejected tasks
- Central governance of many microservice pools