What are they and how does the Ramsey Bus Tracker use them?
Processes
"MainWorker"
GenServer Process
%{lat: 1.0005, long: 2.9997}
%{running: true}
Ramsey Bus
MainWorker crashes???
MainSupervisor
MainWorker
MainSupervisor watches MainWorker and respawns it if it dies
/dev/null
MainSupervisor
MainData
(GenServer)
Text
MainSubSupervisor
MainWorker
(GenServer)
2 functions:
get_state()
save_state()
Ramsey Bus
save_state()
get_state()