Feeds

Couchbase lashes Lite database to cloud with Sync service

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

Application security programs and practises

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. ®

Eight steps to building an HP BladeSystem

More from The Register

next story
Sysadmin Day 2014: Quick, there's still time to get the beers in
He walked over the broken glass, killed the thugs... and er... reconnected the cables*
SHOCK and AWS: The fall of Amazon's deflationary cloud
Just as Jeff Bezos did to books and CDs, Amazon's rivals are now doing to it
Apple fanbois SCREAM as update BRICKS their Macbook Airs
Ragegasm spills over as firmware upgrade kills machines
Amazon Reveals One Weird Trick: A Loss On Almost $20bn In Sales
Investors really hate it: Share price plunge as growth SLOWS in key AWS division
EU's top data cops to meet Google, Microsoft et al over 'right to be forgotten'
Plan to hammer out 'coherent' guidelines. Good luck chaps!
US judge: YES, cops or feds so can slurp an ENTIRE Gmail account
Crooks don't have folders labelled 'drug records', opines NY beak
Auntie remains MYSTIFIED by that weekend BBC iPlayer and website outage
Still doing 'forensics' on the caching layer – Beeb digi wonk
Manic malware Mayhem spreads through Linux, FreeBSD web servers
And how Google could cripple infection rate in a second
prev story

Whitepapers

Top three mobile application threats
Prevent sensitive data leakage over insecure channels or stolen mobile devices.
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.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.