0

We are currently using Couchbase in a product (not released) but we are thinking of using Couchbase Lite in our test environment. However can we use com.couchbase.client.CouchbaseClient to do CRUD operations on Couchbase Lite?

I have googled it and read Couchbase Lite doc but I can not get any answers.

mikewied
  • 5,273
  • 1
  • 20
  • 32
Codeape
  • 288
  • 3
  • 14

2 Answers2

1

No, it doesn't have the same interface as Couchbase server. It is intended to work on mobile platforms (IOS/Android) and you don't run the Couchbase server SDK's on those devices. Couchbase Lite isn't a substitute for Couchbase server.

However, that being said, we do have a Go lang based "lite" version of Couchbase server called cbgb that you can use. It's not as scalable as Couchbase server (doesn't cluster or scale horizontally), but is definitely usable for a lot of circumstances: http://cbgb.io/ to check it out.

scalabl3
  • 1,273
  • 6
  • 7
1

In addition to what @scalable3 mentioned, for Couchbase Lite's GA we're working on a solution that should allow you to use Couchbase Lite and Sync Gateway alongside your existing Couchbase Server buckets.

Matt Ingenthron
  • 1,894
  • 14
  • 14