Quick take: Poor planning, not an IoT botnet, disrupted the internet.
The key to DDoS protection is preparation. The more one knows about the Tactics, Techniques and Procedures (TTPs) of their attackers, the more prepared one is to defend themselves when attacked. The following is a summary of the Mirai botnet analysis and introduction to Arbor Networks DDoS Protection Solutions.