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?
1.4m articles
1.4m replys
5 comments
57.0k users