CBL .Net 4.5 :: Does attachment has some limit?

32 views
Skip to first unread message

Sherry Ummen

unread,
Aug 24, 2014, 2:33:43 PM8/24/14
to mobile-c...@googlegroups.com
Hello,

   As I know that couchbase server has a limit of 20Mb so if we use CBL then the attachement should also be less than or equal to 20Mb?

-Sherry

Jens Alfke

unread,
Aug 24, 2014, 4:22:53 PM8/24/14
to mobile-c...@googlegroups.com

On Aug 24, 2014, at 11:33 AM, Sherry Ummen <sherry...@gmail.com> wrote:

   As I know that couchbase server has a limit of 20Mb so if we use CBL then the attachement should also be less than or equal to 20Mb?

If you're syncing with the Sync Gateway, yes. (You can store larger attachments in CBL but you'll get server errors trying to push them to Sync Gateway. I bring this up because it doesn't apply to people syncing peer-to-peer or to CouchDB or Cloudant.)

—Jens

Sherry Ummen

unread,
Aug 24, 2014, 9:14:52 PM8/24/14
to mobile-c...@googlegroups.com
So does sync gateway supports couchdb as main backend?

Jens Alfke

unread,
Aug 24, 2014, 10:27:05 PM8/24/14
to mobile-c...@googlegroups.com

On Aug 24, 2014, at 6:14 PM, Sherry Ummen <sherry...@gmail.com> wrote:

So does sync gateway supports couchdb as main backend?

No, Couchbase Lite already syncs directly with CouchDB. But CouchDB doesn't support channel-based syncing.

—Jens

Sherry Ummen

unread,
Aug 24, 2014, 10:29:34 PM8/24/14
to mobile-c...@googlegroups.com
So is it so that still there will be one local data store will be synced with couchdb? Does it also provide offline working also. Sorry I was not aware of this model.

Jens Alfke

unread,
Aug 25, 2014, 1:18:40 AM8/25/14
to mobile-c...@googlegroups.com

On Aug 24, 2014, at 7:29 PM, Sherry Ummen <sherry...@gmail.com> wrote:

So is it so that still there will be one local data store will be synced with couchdb? Does it also provide offline working also. Sorry I was not aware of this model.

It syncs the same way it does with the Sync Gateway. (Basically, Couchbase Lite, Sync Gateway and CouchDB all use the same sync protocol. As do PouchDB, and Cloudant.com's hosted service.)

The other servers don't offer channels, or per-document access control, though. Those are extensions only the Sync Gateway provides.

—Jens
Reply all
Reply to author
Forward
0 new messages