bad: master/slave
better: leader/follower
uwsgi: the emperor process manages vassals. running it as root is called tyrant mode.
vassal configuration is discovered by imperial monitors. you can get metrics from the imperial bureau of statistics
https://uwsgi-docs.readthedocs.io/en/latest/Emperor.html
uWSGI also doesn't have leader elections, it has Legions, "groups of nodes constantly fighting for domination". The node with the highest Valor is the Lord of the Legion.
https://uwsgi-docs.readthedocs.io/en/latest/Legion.html