You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by se...@apache.org on 2023/05/18 11:18:50 UTC

[brpc] branch master updated: Update comments for load balancer at channel (#2255)

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 <ra...@outlook.com>
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: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org