Note
I just wanted to say thank you for taking the time to providing me with extra detailed information.
My understanding
I notice the main difference between the handle_info
in the other thread and the one you have mention on this thread is the following:
- Here we are accepting any reasons for
:EXIT
and:DOWN
. - In the other post we are accepting a specific case of
:EXIT
and:DOWN
.
Questions
-
However, I’m still unclear as to the reason why we are not pattern matching
:normal
? -
In my case is it better to have a single task that handles all of the user submitted tasks or is it better to have a task per user submitted tasks?
Limit the amount of tasks that can be spawned to avoid exhausting the resources
- Also can you point me towards a resource on testing tasks and supervisor tree?
Test you supervision tree