Coming soon!
Chaos Engineering – Blocked Threads
In the series of chaos engineering articles, we have been learning to simulate various performance problems. In this post, let's discuss how to make threads go into BLOCKED state. Sample Program Here is a sample program from open source BuggyApp application, which would make threads go into BLOCKED state. A thread will enter into a... Continue Reading →
Chaos Engineering – Stackoverflow Error
In the series of chaos engineering articles, we have been learning to simulate various performance problems. In this post, let's discuss how to simulate StackOverflow error. StackOverflow error is a runtime error. In this post let’s discuss how to simulate StackOverflowError, diagnose it and solve the problem. Sample Program Here is a sample program from... Continue Reading →
Chaos Engineering – Thread Leak
In the series of chaos engineering articles, we have been learning to simulate various performance problems. In this post, let's discuss how to simulate thread leaks. 'java.lang.OutOfMemoryError: unable to create new native thread' will be thrown when more threads are created than the memory capacity of the device. When this error is thrown, it will... Continue Reading →
Chaos Engineering – Java heap space
Coming soon!
Chaos Engineering – Deadlock
In the series of chaos engineering articles, we have been learning to simulate various performance problems. In this post, let's discuss how to simulate deadlock. What is Deadlock? Deadlock is prone in multi-threaded applications. The technical definition of a 'Deadlock' goes like this: Deadlock is a situation where a set of processes are blocked because... Continue Reading →
Chaos Engineering – Simulating OutOfMemoryError
In the series of chaos engineering articles, we have been learning to simulate various performance problems. In this post, let's discuss how to simulate 'java.lang.OutOfMemoryError: Java Heap space' problem. This 'java.lang.OutOfMemoryError: Java Heap space' will be thrown by the application when the application generates more objects than the allocated heap size. Java OutOfMemoryError Program Here... Continue Reading →
Chaos Engineering – Simulating CPU spike
In this series of chaos engineering articles, let's discuss how to simulate CPU consumption to spike up to 100% on a host (or container). CPU consumption will spike up whenever a thread goes on an infinite loop. Here is a sample program from the open-source BuggyApp application, which would cause the CPU to spike up.... Continue Reading →
Buggy App – Simulate performance problems
Buggy App is a simple java application that simulates different performance problems like Memory Leak, OutOfMemoryError, CPU spike, thread leak, StackOverflowError, deadlock, unresponsiveness, ... Using this application, you can simulate various performance problems in your environment. Here are a few use cases where Buggy App can be used: a. You can configure and launch Buggy... Continue Reading →