line / line/centraldogma-python
Provide a way to implement CSLB
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 21
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Motivation
- Sometimes there is a need to distribute traffics on client side like round-robin or weighted load balancing.
- At least, making endpoint of Dogma a list would be a good first step.
- AS-IS: `Dogma("https://dogma.yourdomain.com", "token")`
- TO-BE: `Dogma(["http://10.0.0.1", "http://10.0.0.2", "http://10.0.0.3"], "token")`
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue identifies the Dogma constructor as the entry point; start by tracing how its endpoint argument is stored and used. Compare the current single-endpoint form with the requested list form and clarify the intended round-robin or weighted behavior. Done means the client accepts multiple endpoints and distributes traffic according to a defined behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100