summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_db.erl
diff options
context:
space:
mode:
authorAdam Kocoloski <kocolosk@apache.org>2009-05-16 18:58:18 +0000
committerAdam Kocoloski <kocolosk@apache.org>2009-05-16 18:58:18 +0000
commit04bd244c1249fb3dc0581d97e8bbf4cdcd808d7c (patch)
treebec7ed6cd307ccf4b4bdca59eb435da5b3a6fd0a /src/couchdb/couch_db.erl
parente69ff9662344905fbac5d045259e791227772a18 (diff)
replicator memory management and buffer flush calculation updates
* new should_flush fun considers ndocs, nattachments, memory in making decision * memory utilized by attachment receivers is accounted for * download attachments using standalone connections instead of conn pool. This prevents a document request from getting stuck behind a huge attachment, which would prevent us from triggering a buffer flush in time. We also consider the memory utilization of the standalone ibrowse connection in should_flush git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@775507 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_db.erl')
0 files changed, 0 insertions, 0 deletions