This is an automated email from the ASF dual-hosted git repository.
serverglen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brpc.git
The following commit(s) were added to refs/heads/master by this push:
new 0a4deb1b Update comments for load balancer at channel (#2255)
0a4deb1b is described below
commit 0a4deb1b224dd31e229ddd112f733ac4aeecd811
Author: Jialei Wang <[email protected]>
AuthorDate: Thu May 18 19:18:39 2023 +0800
Update comments for load balancer at channel (#2255)
---
src/brpc/channel.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/brpc/channel.h b/src/brpc/channel.h
index b7b2ae8f..0f1c0bbb 100644
--- a/src/brpc/channel.h
+++ b/src/brpc/channel.h
@@ -173,6 +173,8 @@ public:
// Supported load balancer:
// rr # round robin, choose next server
// random # randomly choose a server
+ // wr # weighted random
+ // wrr # weighted round robin
// la # locality aware
// c_murmurhash/c_md5 # consistent hashing with murmurhash3/md5
// "" or NULL # treat `naming_service_url' as
`server_addr_and_port'
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]