Skip to the workspace
Pebellslearn by building
← All interview tasks

Advanced · Engineering discussion

Audit a supposedly streaming pipeline

generators · resource ownership · performance

Not checked yet

Guest practice stays in this visit. Sign in to save your progress. Checks cover the stated cases; discussion rubrics are self-reviewed. These tasks do not mark course lessons complete.

A log pipeline does rows = list(read_rows(path)), wraps rows in a generator, then consumes the first ten matches. Explain memory use, read-ahead, early stopping, and who closes the file.

Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.