Count errors in a log stream with a moving average
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.
No answer yet. Write the first one; the best answer gets endorsed.
