Feeds

Couchbase lashes Lite database to cloud with Sync service

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

Choosing a cloud hosting partner with confidence

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

Security for virtualized datacentres

More from The Register

next story
It's Big, it's Blue... it's simply FABLESS! IBM's chip-free future
Or why the reversal of globalisation ain't gonna 'appen
'Hmm, why CAN'T I run a water pipe through that rack of media servers?'
Leaving Las Vegas for Armenia kludging and Dubai dune bashing
Bitcasa bins $10-a-month Infinite storage offer
Firm cites 'low demand' plus 'abusers'
Facebook slurps 'paste sites' for STOLEN passwords, sprinkles on hash and salt
Zuck's ad empire DOESN'T see details in plain text. Phew!
CAGE MATCH: Microsoft, Dell open co-located bit barns in Oz
Whole new species of XaaS spawning in the antipodes
Microsoft and Dell’s cloud in a box: Instant Azure for the data centre
A less painful way to run Microsoft’s private cloud
AWS pulls desktop-as-a-service from the PC
Support for PCoIP protocol means zero clients can run cloudy desktops
prev story

Whitepapers

Why cloud backup?
Combining the latest advancements in disk-based backup with secure, integrated, cloud technologies offer organizations fast and assured recovery of their critical enterprise data.
A strategic approach to identity relationship management
ForgeRock commissioned Forrester to evaluate companies’ IAM practices and requirements when it comes to customer-facing scenarios versus employee-facing ones.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
New hybrid storage solutions
Tackling data challenges through emerging hybrid storage solutions that enable optimum database performance whilst managing costs and increasingly large data stores.