PHP Stability Patterns & Resilience
Implements and audits resilience patterns like Circuit Breaker, Retry, and Rate Limiting for robust PHP applications.
This skill provides a comprehensive knowledge base and implementation guide for building fault-tolerant PHP systems. It equips developers with production-ready patterns to prevent cascading failures, handle transient errors, and manage resource exhaustion. By providing specific guidance on Circuit Breakers, Exponential Backoff Retries, and Bulkhead isolation, it helps ensure that PHP microservices and monoliths remain stable under high load or when external dependencies fail. It is an essential toolkit for architectural reviews and hardening legacy codebases.
主要功能
0145 GitHub stars
02Circuit Breaker state management (Closed, Open, Half-Open) with PSR-20 Clock support.
03Rate limiting algorithms including Token Bucket and Sliding Window implementations.
04Bulkhead isolation patterns to prevent resource exhaustion across service boundaries.
05Retry strategies featuring Exponential Backoff and Jitter to prevent thundering herds.
06Automated detection patterns using grep to audit code for missing timeouts and resilience violations.
使用场景
01Auditing legacy PHP codebases to identify and fix critical stability bottlenecks.
02Hardening external API integrations against downtime and latency spikes.
03Implementing distributed rate limiting for high-traffic PHP microservices.