-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat:load balancer strategy mode and add consistent hash #373
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #373 +/- ##
===========================================
- Coverage 39.61% 39.39% -0.23%
===========================================
Files 54 54
Lines 3463 3460 -3
===========================================
- Hits 1372 1363 -9
- Misses 1929 1934 +5
- Partials 162 163 +1
Continue to review full report at Codecov.
|
* limitations under the License. | ||
*/ | ||
|
||
package consistenthashing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pls refer https://github.com/AlexStocks/goext/tree/master/hash/consistent and move it to dubbogo/gost
use Rendezvous Hashing algorithm? |
I think you can write it. |
curl http://127.0.0.1:8848/nacos/v1/console/health/liveness | ||
sleep 10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make curl call to trigger nacos lazy initialization and sleep for waiting completely initialization. it's better to keep it unchaned.
* feat:load balancer strategy mode and add consistent hash * fix triple samples ci * fix:go fmt * style:use gost library consistent hash * style:temporary delete consistent hash wait etcd new version upgrade add it back Co-authored-by: mark4z <[email protected]>
What this PR does:
Which issue(s) this PR fixes:
Fixes #
Features
refer to #366
Special notes for your reviewer:
Does this PR introduce a user-facing change?: