wenbingshen commented on code in PR #4258:
URL: https://github.com/apache/bookkeeper/pull/4258#discussion_r1582088893


##########
site3/website/src/pages/bps/BP-66-support-throttling-for-zookeeper-read-of-rereplication.md:
##########
@@ -0,0 +1,26 @@
+# BP-66: support throttling for zookeeper read of rereplication
+
+### Motivation
+
+Each time the cluster trigger the re-replication, all replicators will read 
data from zookeeper. This can cause a great pressure on Zookeeper. We need to 
support throttling for zookeeper read of re-replication.
+
+For example, in a Pulsar cluster, we enable auto-recovery for every bookie. 
There are 400 bookies in a cluster, which means there are 400 replicators in 
the cluster.
+And there are about 3000 ledgers in each bookie, 1/3 of them are small 
ledgers, whose size is less than 0.1MB, that is 1000 small ledgers in each 
bookie.
+If we decommission one bookie, the read latency of zookeeper will increase to 
minutes. 
+
+
+### Configuration
+add the following configuration:

Review Comment:
   If the throughput of a single RW is only 3MB, consider reducing the number 
of RWs to 10 and adjusting the throughput of a single RW to 30MB. There is no 
need to maintain 100 replicators. It is generally recommended to separate AR 
and Bookie.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to