On Jun 3, 2016, at 9:59 AM, Brendan Duddridge 
<[email protected]<mailto:[email protected]>> wrote:

Because replication is doing a lot of uploading, it's saturating his available 
bandwidth. And because he has an ADSL connection I've read, the download 
performance can suffer greatly when you're using up a lot of the upload 
bandwidth.

I’ve had ADSL at home for all but a few of the last 16 years, and I don’t 
remember having this sort of problem. And for a long time my upload rate was 
well under 1mbit/sec. But I know there are different types of ADSL and maybe 
his is different.

The thing is, I don’t know what I could do about this. NSURLConnection and 
NSURLSession are the black boxes doing the networking in CBL, and they don’t 
offer any settings to limit bandwidth. In addition, any fixed limit isn’t going 
to work all the time since the total bandwidth depends on all processes on all 
devices. (BitTorrent is able to get around this, but by some clever heuristics 
that only work because they’ve implemented their network protocol on top of UDP 
so they have control over every packet they send.)

I’d suggest asking on the macnetworkprog mailing list at 
lists.apple.com<http://lists.apple.com>. Various Apple networking gurus like 
Quinn and Josh Graessley hang out there and are very helpful.

—Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/36B3A64F-BE56-44A0-8571-8330ECA5139B%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to