In the last chapter, we learned how we can use different operators to deal with the backpressure problem, learned two different strategies to deal with this problem:
- Lossy strategy
- Loss-less strategy
For each strategy, we learned different operators implement a lossy strategy to deal with the back pressure problem. learned the following operators:
- throttle()
- sample()
- debounce()
- pause()
To implement a loss-less strategy to deal with the back pressure problem we learned the following operators:
- bufferWithCount()
- bufferWithTime()
- bufferWithTimeOrCount()
- pause() using buffering
- controlled()
We also learned when to use each strategy, based on the amount of memory we have available and if we can afford losing any data or not.
For the last, we learned new operators to filter data, along with the filter() operator. This operator lets us avoid computation of unnecessary events...