Feeds

Couchbase lashes Lite database to cloud with Sync service

Hold the phone - feel that, that's social, local, AND mobile.

The essential guide to IT transformation

If there is one thing that irritates a mobile device user above all else it's the way some apps will chug along perfectly happily for several hours then suddenly enter the lifeless purgatory known as "syncing" as they try to pull some data from a remote cloud server over a rubbish mobile network.

Now, database startup Couchbase is trying to change that with a new locally deployable database management system and syncing service that can be bundled in with an application.

The idea is that by embedding a local document-oriented database into an application and hooking it up to Couchbase's sync service, developers can change the way they build applications by storing data on a device and selectively pushing up and syncing to the cloud where appropriate.

"If you look at the value it's around enablement. You can build apps that are better, can build them for a lot less money, and [you can build] apps you couldn't build yesterday do this sheer cost associated with [syncing]," explained Wayne Carter, Couchbase's chief architect for mobile, in a chat with El Reg.

Couchbase launched its local database in September, promising that the key-value document-oriented system offered advantages over rival systems like SQL Anywhere and SQLite. Now, by lashing it to a cloud syncing service, the company thinks it has given developers a way to balance the local storage needs of apps with the flexibility afforded by all-you-can-drink cloud computing and storage.

"The reason apps can't be always available and always responsive is due to how people build apps today. Today they have a remote data strategy, they store all data in the cloud so they have a single source and don't need to deal with conflicting data or synchronization. This is a difficult problem but is easier than the other problem, but it produces a result where apps can only work with the network connection."

The "Couchbase Lite" tech weighs in at 500 kilobytes and is described by the company as "a lightweight full-featured embedded JSON document store" with support for iOS, Android, and Windows, and built-in support for authentication systems based on identity services from Facebook or Mozilla Persona.

"It’s embedded within the application by the developer during the building of the application just like any other code library," a Couchbase spokesperson explained via email. "We're following the standard way code libraries work together, so there aren’t any issues with the approach."

Couchbase Lite is designed to communicate with "Couchbase Sync Gateway" which takes care of user authentication and authorization, access control, data routing, update validation, and multi-master replication between Couchbase Server and mobile client devices.

Couchbase Server, meanwhile, handles the storing and sharing of JSON documents to other web services as well as mobile devices.

"We think the next trend in mobile is a local data first strategy," explained Couchbase's senior vice president of engineering, Rahim Yaseen, told El Reg. "A device today has a lot of compute and network. The only resource it struggles with is bandwidth. Mobile apps, when they talk to local data on the device, tend to be a lot faster and a lot more responsible."

The tech is available in a free, thinly-supported "community edition", and in a paid-for enterprise edition with guarantees around support, patching, technical alerts, and more. Prices for the paid version start at $2,700 per node per year for Couchbase Server, and an additional $2,700 per node for Sync Gateway, which includes a Couchbase Lite mobile DB license as well.

Though major companies like Facebook or Google or Microsoft, and even some good mobile design studios, have been able to use a combination of local and cloud-storage for awhile, syncing is typically so difficult that young developers have to make a choice between local or remote storage. With Couchbase Sync'n'Lite, the company is hoping to free them of this distinction and make some cash in the process. ®

Boost IT visibility and business value

More from The Register

next story
Pay to play: The hidden cost of software defined everything
Enter credit card details if you want that system you bought to actually be useful
Shoot-em-up: Sony Online Entertainment hit by 'large scale DDoS attack'
Games disrupted as firm struggles to control network
HP busts out new ProLiant Gen9 servers
Think those are cool? Wait till you get a load of our racks
Silicon Valley jolted by magnitude 6.1 quake – its biggest in 25 years
Did the earth move for you at VMworld – oh, OK. It just did. A lot
VMware's high-wire balancing act: EVO might drag us ALL down
Get it right, EMC, or there'll be STORAGE CIVIL WAR. Mark my words
Forrester says it's time to give up on physical storage arrays
The physical/virtual storage tipping point may just have arrived
prev story

Whitepapers

Top 10 endpoint backup mistakes
Avoid the ten endpoint backup mistakes to ensure that your critical corporate data is protected and end user productivity is improved.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Backing up distributed data
Eliminating the redundant use of bandwidth and storage capacity and application consolidation in the modern data center.
The essential guide to IT transformation
ServiceNow discusses three IT transformations that can help CIOs automate IT services to transform IT and the enterprise
Next gen security for virtualised datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.