Lld
Low-Level Design
Medium
Scientific Workflow Execution Engine
Design a low-level execution engine for scientific experiments. An 'Experiment' consists of multiple 'Steps'. Steps can be individual tasks (e.g., 'Run Python Script', 'Fetch S3 Data') or a 'Sub-Experiment' containing its own steps. Steps may have dependencies on previous steps. The engine should support sequential and parallel execution where possible, and allow for 'Hooks' that run before or after every step for logging or cleanup.
Key concepts
composite patterntemplate methoddependency management
Practise this out loud — free
Start a mock interview on THIS exact question — a voice AI interviewer opens with it, pushes back like a real onsite, then hands you an instant scorecard.
🎙 Practise this question now