Design a Factory Line Monitor
A production line is a chain of stations. A battery pack moves from one to the next, and each station does one job to it: stack the modules, weld the busbars, torque the bolts, run the end-of-line test. Each station is run by a PLC (programmable logic controller), a small industrial computer that knows when a unit arrived, when it left and whether it passed. This system collects those facts and turns them into the numbers engineers run the line by. Those numbers are good units per hour, cycle time per station, first-pass yield, final yield and work in progress. Volume is modest, a few hundred events a second per factory. The difficulty is that every number has to be exact while events arrive repeated, late and out of order. And a factory can lose its link to the cloud for hours.
TeslaPremium lesson · System design round
The Tesla design, worked end to end.
- The API and data modelSystem design
- The design, drawn out2 diagrams
- 5 deep divesWith the tradeoffs
$49 a year · all 107 companies · instant access
20,000+ candidate reports · guide updated
Tesla interview guideKnow what Tesla asks before you walk in.
21 coding · 6 system design · 19 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.