Planning Our Lifecycle
Let’s learn why it's important to manage our project lifecycle to handle failure.
We'll cover the following
Project lifecycle
We’ll break with tradition and use the word ‘lifecycle’ instead of ‘supervisor’. Most Elixir developers think of Elixir’s supervision as a way to handle failure, and it’s easy to see why. Some Erlang deployments using OTP have been up for years at a time. If you’ve been telling yourself that supervisors are about failure, we want to help you reshape that idea.
To illustrate, let’s look at some holes in our counter component. Look at the start
function in our counter again:
Get hands-on with 1400+ tech skills courses.