Backpressure protocols ensure that fast producers do not overwhelm consumers.
In an asynchronous system, there is always a possibility that a producer reactor
sends more events than the consumer can handle. This can eventually blow up the
memory requirements of the consumer, since its event queue grows indefinitely.
Backpressure links ensure that the
Backpressure is parametric in the choice of the underlying communication medium.
A backpressure link is established on top of a two-way link,
but that two-way links may be non-reliable or reliable. This is abstracted
away in a configuration object called a Medium, which is necessary to start
the backpressure protocol.
Backpressure protocols ensure that fast producers do not overwhelm consumers.
In an asynchronous system, there is always a possibility that a producer reactor sends more events than the consumer can handle. This can eventually blow up the memory requirements of the consumer, since its event queue grows indefinitely. Backpressure links ensure that the
Backpressure is parametric in the choice of the underlying communication medium. A backpressure link is established on top of a two-way link, but that two-way links may be non-reliable or reliable. This is abstracted away in a configuration object called a
Medium
, which is necessary to start the backpressure protocol.