Handling failures in background workers with Elixir and supervisors
The article shows how a worker that can raise during payment verification may restart too often and bring down the app, and how a separate supervisor with tuned restart limits keeps the rest of the system up.