|
The idea of backpressure comes from the idea about data fluid flow in the system like water flow in a pipe.
Each piece of the pipe is a service, with a different diameter, scaled by the concurrency level with other API flows.
flow comes with 2 natural dimensions: speed and bandwidth, or in API language, we call that throughput and the number of concurrent in-flight message
Then a back-pressure route strategy must control this 2 information along the API path, which means it can propagate, sense for it, and leverage it to control the speed of the flow
|