|Couchbase Mobile Version Adds Sync Gateway|
|Written by Kay Ewbank|
|Friday, 24 March 2017|
There's a new version of Couchbase Mobile with a new Sync Gateway Accelerator that makes Couchbase Mobile 1.4 more scalable.
Having been developed by Damien Katz, CouchDB became a successful Apache project. The developers then moved on to create a successor to CouchDB, Couchbase Server. This is a hybrid database combining elements of both document and key-value databases. The key-value element comes from the memcached-compatible protocol, while documents are handled by storing the data in JSON format with support for secondary indexes.
Couchbase Mobile consists of Couchbase Server, the database server developed by CouchDB; Couchbase Lite, an embedded JSON database that manages and stores data locally on the device, along with a synchronization module that manages synchronization between Couchbase Lite and Couchbase Server; and peer-to-peer synchronization between Couchbase Lite instances. The synchronization is carried out by Sync Gateway, and this is the main element to have been updated. The system also includes a REST API and Stream and Batch APIs.
The new accelerator component is designed to let developers increase system capacity by up to six times. The accelerator has been added to the Sync Gateway, and improves capacity by sharding the mutation feed that transmits data changes from the server to the clients. This can create a distributed channel cache that can be used by all the Sync Gateways to apply security filters for access control and create the changes feed for downstream clients.
Alongside the improvement to synchronization, Couchbase Lite has also been updated with LINQ support for .NET. Couchbase Lite is an embedded NoSQL database that can work standalone, in a P2P network, or as a remote endpoint for Couchbase Server. LINQ is .NET's Language INtegrated Query feature that provides general-purpose query facilities to the .NET Framework that apply to all sources of information, not just relational or XML data. The updated version of Couchbase Lite adds support for “select”, “where”, “aggregate” and other keywords to let you query Couchbase data in .NET.
or email your comment to: firstname.lastname@example.org