Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Principles of Chaos Engineering (2019) (principlesofchaos.org)
47 points by chynkm on Dec 28, 2022 | hide | past | favorite | 6 comments


A small tip that might be useful for some: to replicate real-life incoming network requests without affecting production systems, you can use the nginx mirror directive [1], which will copy targeted requests to the system(s) under test. We use this quite often for blue/green type deployments and the like.

1. http://nginx.org/en/docs/http/ngx_http_mirror_module.html


It's a versatile tool! Important to note though that nginx will wait for the mirrored requests to complete before it responds to the main request. you can somewhat mitigate this by setting a low mirror timeout.


But what if your entire company was bought by a billionaire chaos monkey? What then?


Noone wins in a monkey fight..


Related:

The Chaos Engineering Book - https://news.ycombinator.com/item?id=24892874 - Oct 2020 (32 comments)

Principles of Chaos Engineering (2018) - https://news.ycombinator.com/item?id=20183590 - June 2019 (16 comments)

Principles of Chaos Engineering - https://news.ycombinator.com/item?id=16244586 - Jan 2018 (46 comments)

The Discipline of Chaos Engineering - https://news.ycombinator.com/item?id=14289667 - May 2017 (13 comments)

Chaos Engineering Upgraded - https://news.ycombinator.com/item?id=10279893 - Sept 2015 (6 comments)

Introducing Chaos Engineering - https://news.ycombinator.com/item?id=8302118 - Sept 2014 (28 comments)


Am I dumb or is this post just saying to test for edge cases? I'm not really taking anything away from this.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: