Fault injection
Fault injection is the deliberate introduction of faults or abnormal conditions into a system to observe and evaluate its behavior under failure.
Hacking Cryptography
An attack that deliberately perturbs a system's physical or electrical conditions to induce faults or influence its output.
- How it is used
- Frames physical interference as a threat to the unpredictability of ring-oscillator TRNGs.
- How deep it goes
- Explains frequency lock-on and gives monitoring, shielding, and reseeding countermeasures.
- Examples
- Uses a sine-wave generator targeting a ring oscillator through the chip’s power source.
- What you can do after
- Operate and harden a ring-oscillator TRNG using health counters, physical barriers, and protected reseeding.
Troubleshooting Java: Read, debug, and optimize JVM applications
A testing technique that deliberately introduces faults into a system to reproduce behavior that is otherwise difficult to observe.
- How it is used
- Uses controlled communication failures to investigate how services behave when another service cannot be accessed.
- How deep it goes
- Explains the purpose of fault injection and how to configure a service-mesh sidecar to induce communication failure.
- Examples
- Shows a sidecar disrupting communication between services to reproduce a production-like failure scenario.
- What you can do after
- Configure a service-mesh sidecar to simulate failed communication and investigate its effects on other services.
Read how Troubleshooting Java: Read, debug, and optimize JVM applications explains fault injection →
Also covered in
What to know first
- sidecar patternThe sidecar pattern deploys an auxiliary component alongside a primary application or service to provide supporting functionality independently of its core code.
Related concepts
- test environmentuses · A test environment is a configured computing context, including relevant software, hardware, data, and settings, in which software is executed and evaluated.
- damage limitationuses · Controls that limit the frequency, accumulated cost, intervention delay, or unrecoverable effects of harmful actions.
- service meshused by · A service mesh is an infrastructure layer that manages communication between distributed services and commonly provides traffic control, security, and observability.
- fault toleranceused by · Fault tolerance is the ability of a system to continue providing correct or acceptable service despite failures in its components or dependencies.
- traffic managementpart of · Traffic management is the coordinated control, routing, distribution, or shaping of moving flows through a system.
Questions about fault injection
What is fault injection?
Fault injection is the deliberate introduction of faults or abnormal conditions into a system to observe and evaluate its behavior under failure.
Which Manning books explain fault injection?
Hacking Cryptography and Troubleshooting Java: Read, debug, and optimize JVM applications.
What should I know before learning fault injection?
Manning books that teach fault injection usually introduce sidecar pattern first.
What is fault injection part of?
Fault injection is part of traffic management. Traffic management is the coordinated control, routing, distribution, or shaping of moving flows through a system.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

