async
Règle 10 : Async-First avec Symfony Messenger. Use when working with async.
When & Why to Use This Skill
This Claude skill provides comprehensive guidelines and best practices for implementing an 'Async-First' architecture using Symfony Messenger. It helps developers optimize application performance by offloading heavy tasks to background processes, ensuring high scalability and a responsive user experience in PHP-based systems.
Use Cases
- Scenario 1: Offloading time-consuming tasks such as email notifications, PDF generation, or image processing to background workers to prevent blocking the main request-response cycle.
- Scenario 2: Implementing reliable message retries and error handling strategies for distributed systems to ensure data consistency and fault tolerance.
- Scenario 3: Decoupling application components by using a message bus to handle domain events asynchronously, improving system maintainability.
- Scenario 4: Scaling application performance by distributing heavy workloads across multiple worker processes based on queue volume.
| name | async |
|---|---|
| description | Règle 10 : Async-First avec Symfony Messenger. Use when working with async. |
Règle 10 : Async-First avec Symfony Messenger
This skill provides guidelines and best practices.
See @REFERENCE.md for detailed documentation.