Root supervisor
:one-for-one · 2 in 5 s
Supervisor A
:one-for-one · 3 in 5 s
Supervisor B
:one-for-all · 2 in 5 s
Supervisor C
:rest-for-one · 3 in 5 s
Supervisor D
simple_one_for_one · 3 in 5 s
a1
:permanent
a2
:transient
a3
:temporary
b1
:permanent
b2
:permanent
c1
:permanent
c2
:permanent
c3
:permanent
i1
instance
i2
instance
i3
on demand
Workers are spawn-linked by their supervisor. Supervisors trap exits.
Budget: max restarts in max seconds, the OTP intensity and period. OTP's default is 1 in 5 s.
Silk OTP message
call
exit signal
stop requests go down as messages · exit signals come up · start_link is a call
1×
loop
1
-
8
modes
space
play
→
step
esc
picture