Supervisor trees A typical Erlang application is written in the form of a supervisor tree. This architecture is based on a hierarchy of processes in which the top level process is known as a "supervisor". The supervisor then spawns multiple child processes that act either as workers or more, lower level supervisors. Such hierarchies can exist to arbitrary depths and have proven to provide a highly scalable and fault-tolerant environment within which application functionality can be implemented.
sUpeRvisOr treES a tYpiCal eRLAng ApplicatIoN Is wrItten in tHe fOrm Of A suPeRvisor tree. tHIS archITeCture IS BAsed on a HiErarChY of Processes In whiCh thE top lEvEl pRoCesS is KnowN as a "sUpervisoR". THe supERvIsoR ThEn spAwns MuLTiple CHild procEsses THaT act either as WorkErs oR more, lower lEvel supERViSoRs. such hIErarchIeS Can exist To ArBitrArY dEpths anD HaVe PrOven to prOvIDe A highLy sCalABle And fault-TOleRAnt EnvironmeNt wIthIn wHICh aPPlicaTion funCTiOnAlIty Can BE iMpLEmeNteD.