3 ms·
You can do Chaos Engineering quite easily with Ruby, because you can raise an exception in a thread from another thread. Many years ago I built a simple tool wh
by steve_gh 6y ago
You can do Chaos Engineering quite easily with Ruby, because you can raise an exception in a thread from another thread. Many years ago I built a simple tool which allowed you to specify a series of exceptions, and their frequency. The library would run up an extra thread in your process, and simply drop bombs (i.e. raise exceptions according to the required distribution) across the other threads at random.
It worked a treat for ensuring high availability in IoT systems