How Chaos Engineering Practices Will Help You Design Better Software

For years we have tried to avoid mistakes, when in fact we should have caused them.

Mariano Calandra
Feb 23 · 9 min read
Photo by Matt Chesin on Unsplash

Wind extinguishes a candle and energizes fire.

Likewise with randomness, uncertainty, chaos; you want to use them, not hide from them.

Antifragile — Nassim Nicholas Taleb

The Black Swan

A turkey is fed for a thousand and more days; every day together with the other turkeys they takes pleasure in comfort of their life. Then comes Thanksgiving and being a turkey won’t have been cool at all.

Until 1697, when Cygnus atratus was discovered, no one thought black swans could exist. (photo Holger Detje from Pixabay)

Antifragile

Copyright Elnur Amikishiyev

If you want to become antifragile, place yourself in the “love error” position.

Chaos engineering

What would happen if, one of the production web servers, suddenly goes down?

The process of chaos

«Between 10am and 11am, an average of 100 orders per minute is handled»

«Between 8pm and 9pm the homepage is requested 1000 times»

«What would happen if a webserver fails?»

«What if communication with the database suddenly had an extra 100ms latency?»

The Netflix Simian Army project.

Chaos Engineering in production (?)

Conclusion

Photo by Andrew Gaines on Unsplash

You don’t choose the moment, the moment chooses you.

You only choose how prepared you are when it does.

— Fire Chief Mike Burtch

If you liked this post, please support my work!

Further reading

The Startup

Get smarter at building your thing. Join The Startup’s +725K followers.

Mariano Calandra

Written by

Mariano daily helps companies succeed using cloud and microservices. • AWS Authorized Instructor • AWS Community Builder • goto.calandra.me/support

The Startup

Get smarter at building your thing. Follow to join The Startup’s +8 million monthly readers & +725K followers.

Mariano Calandra

Written by

Mariano daily helps companies succeed using cloud and microservices. • AWS Authorized Instructor • AWS Community Builder • goto.calandra.me/support

The Startup

Get smarter at building your thing. Follow to join The Startup’s +8 million monthly readers & +725K followers.

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store