System Design Patterns: From Fundamentals to Real Systems
Vote

0% completed

​

Backpressure

In a warehouse, a moving belt carries boxes from the shelves to a packing table. The belt brings 30 boxes a minute, and the packer packs 20. The table has room for 20 boxes. When the table is full, a sensor stops the belt, and the next boxes wait on the belt. When the packer lifts one box off the table, the belt moves again.

Without the sensor, the belt would keep moving at 30 boxes a minute. The table would be full after two minutes, and every box after that would fall on the floor. With the sensor, the packer works at the speed he can manage and no box is lost

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content