← Questions

Count errors in a log stream with a moving average

0
MicrosoftSystem designLast asked Dec 2025

Design a component that reads a continuous stream of log lines, counts errors per time window and keeps a moving average to spot spikes. Discuss windowing, memory bounds, late or out-of-order lines and how alerts are raised.

Your canvas
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing