Kuadrant / Kuadrant/dns-operator

coredns/plugin: Improve weighted endpoint algorithm

Open
#410 0 comments 0 reactions 0 assignees View on GitHub
coredns plugin
Dominant language
Go
Stars
12
Forks
23
Avg merge
1d 4h
Merged PRs (30d)
14

Description

**What**

Improve the weighted algorithm used when selecting the most appropriate endpoint to select for weighted record sets.

Currently is uses the same logic as the CoreDNS [loadbalanced plugin](https://github.com/coredns/coredns/tree/master/plugin/loadbalance), but this appears to be quite random in the way it works and there may be a better way to do this to make it more deterministic.

Contributor guide

Open the contributing guide

Research direction

Start with the current weighted endpoint selection implementation and compare its behavior with the linked CoreDNS loadbalance plugin. Define a more deterministic rule for weighted record sets and verify it with representative selection tests; done means the algorithm is no longer effectively random.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.