Skip to content

Commit ae737f6

Browse files
committed
docs: queue-based load leveling diagram
1 parent 23af67c commit ae737f6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Diff for: queue-based-load-leveling/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ Wikipedia says
4040

4141
> Message Queues are essential components for inter-process communication (IPC) and inter-thread communication, using queues to manage the passing of messages. They help in decoupling producers and consumers, allowing asynchronous processing, which is a key aspect of the Queue-Based Load Leveling pattern.
4242
43+
Flowchart
44+
45+
![Queue-Based Load Leveling flowchart](./etc/queue-based-load-leveling-flowchart.png)
46+
4347
## Programmatic Example of Queue-Based Load Leveling Pattern in Java
4448

4549
The Queue-Based Load Leveling pattern helps to manage high-volume, sporadic bursts of tasks that can overwhelm a system. It uses a queue as a buffer to hold tasks, decoupling the task generation from task processing. Tasks are processed at a controlled rate, ensuring optimal load management and fault tolerance, crucial for maintaining robust system architecture.
Loading

0 commit comments

Comments
 (0)