© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Priyanshu Maurya
Which algorithm does this load balancer uses by default to distribute traffic?, if lets say I have to use another algorithm, how can I do that?
Pravesh Sudha
Bridging the Gap between Technology and Philosophy
That's easy, in the nginx conf file inside the upstream flask_cluster, specify another algo like least_connections and it will do the work.
what about default option?
The default is Round Robin (cyclic rotation). For example, we have three version, so request will go from v1 -> v2 -> v3 -> v1 -> v2 -> v3 -> .......(this goes on and on)