Backpressure is killing downstream services when using observables for telemetry. How do you buffer or window events safely?

.NET interview question for Advanced practice.

Answer

Insert .Buffer(TimeSpan.FromSeconds(1), 100) before the subscriber so telemetry is uploaded in manageable chunks rather than thousands of single events.

Explanation

Rx.NET lets you control the emission rate to match downstream throughput.

Related Questions