Software

Databases

Couchbase promises P2P sync in mobile and edge DB

NoSQL slinger sees future in edge and IoT – and 'eventual consistency'


NoSQL database vendor Couchbase is about to launch the third upgrade to its mobile database, with new features promising REST-based remote administration support for large multi-tenant edge applications.

The future release will allow developers to embed lightweight data storage directly into applications on mobile and other "edge" devices such as those in IoT setups.

The new system offers the advantage of giving developers a single, coherent database whether applications were hosted in the cloud or end-user or edge devices, one industry analyst said.

Couchbase is a document-oriented database that uses JSON. Wayne Carter, Couchbase's vice president of engineering, said the approach was particularly suited to mobile and edge applications compared with relational databases.

"There is a fundamental difference at a consistency level," he said. "Our database – and many other NoSQL systems – go for eventual consistency instead of immediate consistency. What this allows you to do is distributed.

"Any time you go distributed, that means you have a network connection between two parts of the system. And when there's a network connection – if it's down or slow – then your system will either be unavailable or slow.

"By relaxing consistency, you're able to allow the systems to operate at their full speed and full availability at each independent distributed node in the system. In mobile and IoT, you're dealing with fundamentally unreliable networks."

Couchbase Mobile 3, in C, is set to be available for Ubuntu, Rasberry Pi, Debian, Windows 10, Android, iOS and macOS. Other operating systems will be supported in C#, Java, Swift and ObjC.

"Developers will be able to build applications on the same database, are using the same programming paradigms. They're using the same simple, SQL interface that we have across all our entire database platform," Carter said.

IDC estimates that the global market for so-called edge computing will reach $176bn in 2022, which is up nearly 15 per cent on 2021.

Dave McCarthy, IDC research vice president for cloud and edge infrastructure, told The Register that developers were driving demand for NoSQL databases.

"It's somewhat in response to the pace of innovation that they are being asked to deliver on, plus the diversity of data types," he said.

"More companies are adopting a NoSQL approach when they're building modern applications, mainly because it frees the developer to have more flexibility in how they store data and how they use it."

He said that the Couchbase mobile announcement offered both flexibility in deployment architectures and compatibility with existing environments.

"I think it's developers that have already decided that this is a good approach for them and the way they want to develop applications, but they want more, they want to be able to extend that capability outside of these cloud environments into these more distributed deployment locations."

Couchbase Mobile 3 deploys a Sync Gateway on the edge or mobile device, as well as the database itself, to allow developers to control how devices share data between devices and with a cloud-based system.

"The fact that it's modular in such a way that both of those components can run directly on a mobile device itself enables a really unique scenario around peer-to-peer syncing between devices," McCarthy said.

For example, an airline could digitise their pre-flight check process by embedding Couchbase onto tablets for recording inspections and synchronise across tablets in real-time, even disconnected from a central database, the company said.

"That's novel and I think there's a lot of scenarios like that, where it would be useful," McCarthy said.

Couchbase said "significant parts" of the source code for Mobile 3 is open source, licensed under BSL. More details are available here. ®

Send us news
5 Comments

In-memory database Redis wants to dabble in disk

Aims to lower costs and broaden appeal of system popular with devs

TileDB secures $34M to reimagine databases, not just collect GitHub stars

System aims to clean mess of high-performance analytics cluttering the modern data stack

Analysts scratch heads over MariaDB's decision to ditch DBaaS crown jewels

'Their future is murky at the moment'

Ex-Navy IT manager gets 5 years in slammer for 2018 database heist

Seafaring cybercrim's wife faces similar sentence next month

MariaDB ditches products and staff in restructure, bags $26.5M loan to cushion fall

Strategic DBaaS and distributed back end jettisoned after years of promotion

In rare bout of generosity, Oracle extends free support for Database 19c

Big Red says it wants to give customers time to upgrade to 23c, which only exists in the cloud for now

Microsoft extends life support for aging Apache Cassandra 3.11 database

But only if you're ready to cozy up in Azure's abode

DuckDB shuns VC breadcrumbs so support isn't all it's quacked up to be

Company behind popular in-process OLAP system feels weight of success

MongoDB's SQL-to-NoSQL converter uses AI to smash the language barrier

Tell it what you want to do, and it spits out the relevant code

Cloudflare loosens AI from the network edge using GPU-accelerated Workers

Isn't that how Skynet took over?

NTT will take those SAP licenses off your hands if it helps ease cloud migration

Bid to break impasse where boards only see costs

There are lots of ways to put a database in the cloud – here's what to consider

Choosing the right one for you means understanding the trade-off, says MySQL expert Peter Zaitsev