#Supervisors
2 notas · última:
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.
What are the different OTP supervisor restart strategies useful for?
The post summarizes the four OTP supervisor restart strategies and the situations they fit: fixed hierarchies, same-type process pools, dependent pipelines or registries, and tightly related groups that must restart together.
