[Improve][SDK] Fix non-atomic worker selection in getWorker in the DataProxy Go SDK
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 62/100
Research direction
Locate getWorker in the Dataproxy Go SDK and trace how concurrent Send calls choose a worker. Reproduce the behavior with concurrent sends, then verify that worker selection is atomic and distributes calls evenly under high concurrency.
Written by the indexing model from the issue text.
Description
Description
In the Dataproxy Go SDK, concurrent Send calls can start the round-robin scan from the same worker index, so the load is not evenly distributed across workers under high concurrency.
InLong Component
InLong SDK
Are you willing to submit PR?
- Yes, I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 572
- Avg merge
- 12h 52m
- Merged PRs (30d)
- 5
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.
More from apache/inlong
-
type/improve
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
type/improve
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
type/improve
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
type/improve
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
[Improve][SDK] Fix panic on sending to a closed channel during shutdown in the DataProxy Go SDK Opentype/improve
Difficulty 3/5 1-2 days Newbie friendliness 57/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100