HiveBrain v1.2.0
Get Started
← Back to all entries
patternMinor

Can a Couchbase application work with no network connection (like CouchDB)?

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
canapplicationwithcouchdblikecouchbaseworknetworkconnection

Problem

I'm building an application where users running android tablets will have to be able to write to a database (running on their local device) with NO network connection and sync using peer-to-peer replication (through a USB connection or possibly bluetooth). I'm working in West Africa, where internet is basically nonexistent.

I know that CouchDB will work for this use case, but it seems like it's difficult to get CouchDB running on Android (compared to Couchbase). Will Couchbase work for this project?

Thanks!
  • avi

Solution

PM from Couchbase here. We've actually been working on an embedded NoSQL database for mobile dubbed "Couchbase Lite" (in parallel with SQL and SQLite) that plays exactly into the scenario you are describing. The idea is to provide your application with a JSON-based database that can:

  • Opportunistically sync to a backend cluster as needed



  • Utilize our built-in P2P support to replicate data between devices without going through a central point



  • Store data locally in its original JSON format for full-offline access to your data



Some initial reading can be found here (http://www.couchbase.com/mobile#lite) but feel free to get in touch with me if you'd like to discuss more in-depth.

Context

StackExchange Database Administrators Q#59680, answer score: 4

Revisions (0)

No revisions yet.