DESCRIPTION

JVMCBC-217: Flow control for DCP

Motivation
----------
Server supports a mechanism to track consumer buffer sizes and stepback
if it sees that the client lacks free spaces in his buffer. This feature
is useful to rate limit the stream of changes on high load producers.

Modification
------------
Implement tracking of consumed bytes, and expose settings to control
size of connection buffer, and the threshold when to send buffer
acknowledgement message.

Result
------
Rate limiting DCP streams is possible.

Change-Id: Idedad59c19c220ebbea21f15006fa7b23aa4dd08
Reviewed-on: http://review.couchbase.org/56553
Reviewed-by: Estrella Humphrey xxx@xxx.xxx
Tested-by: Cory Peck xxx@xxx.xxx


COMMENTS

author: Gerrit Code Review
date: 2015-11-03 18:24:50.173000000

Change has been successfully cherry-picked as e00ae3e8746f67645ef16f7e1ecea701338816b0

-------------------------------------
