Design a Distributed Botnet

📕 Here are some good solutions we found for this question:

MapReduce Paper - which coordinates a cluster of machines to do a task: https://static.googleusercontent.com/media/research.google.com/en//archive/mapreduce-osdi04.pdf

Leetcode Discussion: https://leetcode.com/discuss/post/1375361/botnet-system-designfacebook-design-roun-jv0g/

https://leetcode.com/discuss/post/850071/lyft-virtual-onsite-design-bots-to-downl-4v5q/

Blind: https://www.teamblind.com/post/System-design-for-Botnet-5x0Mq34z


🙋 Here are some details you should know about this question:

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?


← Back to Main Table