[ 
https://issues.apache.org/jira/browse/HBASE-9501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768275#comment-13768275
 ] 

Feng Honghua commented on HBASE-9501:
-------------------------------------

[~ndimiduk] / [~jdcryans] : If we need to maintain the HBase's elastic nature 
here, we need to maintain a current bandwidth usage in central point(master/zk) 
for overall bandwidth controlling. For simplicity, and since 
replication.source.size.capacity and replication.source.nb.capacity are also 
per-RS config(more strictly per-peer+per_RS), we can provide another per-RS 
config to throttle the up-limit of bandwidth. And I think it won't be much 
complex.

If no objection, I'll provide a patch accordingly.
                
> No throttling for replication
> -----------------------------
>
>                 Key: HBASE-9501
>                 URL: https://issues.apache.org/jira/browse/HBASE-9501
>             Project: HBase
>          Issue Type: Improvement
>          Components: Replication
>            Reporter: Feng Honghua
>
> When we disable a peer for a time of period, and then enable it, the 
> ReplicationSource in master cluster will push the accumulated hlog entries 
> during the disabled interval to the re-enabled peer cluster at full speed.
> If the bandwidth of the two clusters is shared by different applications, the 
> push at full speed for replication can use all the bandwidth and severely 
> influence other applications.
> Though there are two config replication.source.size.capacity and 
> replication.source.nb.capacity to tweak the batch size each time a push 
> delivers, but if decrease these two configs, the number of pushes increase, 
> and all these pushes proceed continuously without pause. And no obvious help 
> for the bandwidth throttling.
> From bandwidth-sharing and push-speed perspective, it's more reasonable to 
> provide a bandwidth up limit for each peer push channel, and within that 
> limit, peer can choose a big batch size for each push for bandwidth 
> efficiency.
> Any opinion?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to