> On Sep 26, 2017, at 1:11 PM, Jens Alfke <j...@couchbase.com> wrote:
> 
> In the long run we want to move Sync Gateway attachment storage outside of 
> buckets, but there aren’t concrete plans to do this yet.

I forgot to mention the usual workaround we suggest when this comes up as a 
problem: You can use an external data hosting service, such as Amazon S3, to 
store attachments. Actually you’re no longer using attachments as far as CBL is 
concerned. Instead the client first uploads the attachment data to the hosting 
service, then adds the resulting URL to the document as an ordinary property 
value. Other clients that receive the document can download the attachment via 
that URL. (The server doesn’t have to know or care about these attachments at 
all.)

It does end up being more work for the client implementation, but you get total 
flexibility as to where/how you store attachments, and no limits on data size.

—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 mobile-couchbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/92DEC7FC-F11C-4E4F-BD80-8E243F8A3FFB%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to