Back to All 55 System Design Questions
#52Hard

Design a Distributed Botnet

Asked by:FacebookLyft

Recommended Solutions from the Web

Key Details & Edge Cases You Should Know

It is essentially the same as coordinating a bunch of machines towards doing a particular task, and tracking it.

You can take the MapReduce template - master-workers, heartbeats for tracking tasks, etc.

To consider:

How will you send a task to the cluster of computers?

How will you keep track of each computer's task?

What will you do if a computer fails? How will you get notified?

How will you know when all the computers have completed the task?