Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
perf(round_robin) ring balancer with no hashing feats
Browse files Browse the repository at this point in the history
This commit adds a round-robin algorithm with the same features as the
previous ring algorith, but with no consistent-hashing support.
  • Loading branch information
locao committed Mar 9, 2021
1 parent 6b34b59 commit e52ae30
Show file tree
Hide file tree
Showing 4 changed files with 1,711 additions and 528 deletions.
4 changes: 2 additions & 2 deletions lua-resty-dns-client-5.2.1-1.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ build = {
["resty.dns.utils"] = "src/resty/dns/utils.lua",
["resty.dns.client"] = "src/resty/dns/client.lua",
["resty.dns.balancer.base"] = "src/resty/dns/balancer/base.lua",
["resty.dns.balancer.ring"] = "src/resty/dns/balancer/ring.lua",
["resty.dns.balancer.consistent_hashing"] = "src/resty/dns/balancer/consistent_hashing.lua",
["resty.dns.balancer.least_connections"] = "src/resty/dns/balancer/least_connections.lua",
["resty.dns.balancer.handle"] = "src/resty/dns/balancer/handle.lua",
["resty.dns.balancer.consistent_hashing"] = "src/resty/dns/balancer/consistent_hashing.lua",
["resty.dns.balancer.round_robin"] = "src/resty/dns/balancer/round_robin.lua",
},
}
Loading

0 comments on commit e52ae30

Please sign in to comment.