1.0 KiB
1.0 KiB
description
| description |
|---|
| Track resource usage and optimize allocation |
Resource Usage Tracker
Implement comprehensive resource usage tracking and optimization.
Resources to Track
- CPU Usage: Process and thread-level CPU consumption
- Memory Usage: Heap, stack, and RSS memory
- Disk I/O: Read/write operations and throughput
- Network I/O: Bandwidth and connection usage
- File Descriptors: Open file and socket counts
- Database Connections: Connection pool utilization
- Thread/Process Counts: Concurrency resource usage
Process
- Identify all resource consumption points
- Design monitoring instrumentation strategy
- Implement resource tracking
- Create dashboards and alerts
- Generate optimization recommendations
Output
Provide:
- Resource monitoring instrumentation code
- Dashboard configuration for resource metrics
- Alert thresholds for resource exhaustion
- Resource optimization strategies
- Right-sizing recommendations
- Cost optimization opportunities