I skimmed through a small part of the source code of nginx (about round-robin), and figured out that the algorithm is precisely balanced if there is only one worker process. When comes to multi-wokers, is above conclusion still valid? If yes, how nginx did it? Use lock?
question from:https://stackoverflow.com/questions/65839146/how-nginx-weighted-round-robin-algorithm-works-between-multiple-worker-processes