7 Injecting failure into the JVM
This chapter covers
- Designing chaos experiments for applications written in Java
- Injecting failure into a JVM using the
java.lang.instrument
interface (javaagent
) - Using free, open source tools to implement chaos experiments
Java is one of the most popular programming languages on planet Earth; in fact, it is consistently placed in the top two or three of many popularity rankings.1 When practicing chaos engineering, you are likely to work with systems written in Java. In this chapter, I’m going to focus on preparing you for that moment.
You’ll start by looking at an existing Java application to come up with ideas for chaos experiments. Then you’ll leverage a unique feature of the Java Virtual Machine (JVM) to ...
Get Chaos Engineering now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.