Back to Architecture Library
Performance & Cost
Asynchronous Processing
Performing tasks in the background without blocking the user.
Misconceptions
- •Async is always faster
- •Everything should be async
Trade-offs
- •Responsiveness vs. Immediate Consistency
- •Simplicity vs. Workflow Management
The Mental Model
Async processing allows an application to handle heavy tasks (like image processing) without making the user wait for the result.
Interactive Simulation
Producer
Message Queue
Consumer
In Queue0
Processed0
Architecture Primitives v1.0
Architect's Tip
When scaling for asynchronous processing, always consider the impact on downstream dependencies like databases and message queues.