WHAT
Forcefully evict a random entity from the system due to overcapacity problem caused by own fault. Then, spend countless of hours cleaning up the mess.
USAGE
Let’s assume your system has heap size problems and it is about to run out of memory because you implemented endless recursions or have too many running threads.
- Randomly select 4 entities (running processes) from the system.
- Ask each selected entity to voluntarily quit.
- If the chosen entity does not comply, forcefully evict it from the system.
- Clean up any data corruption.
WHEN TO USE IT
Only use this design pattern when building any software systems for United Airlines.
Leave a Reply