Company
Date Published
Author
Priya Rajagopal, Senior Director, Product Management
Word count
404
Language
English
Hacker News points
None

Summary

With the release of Couchbase Mobile 1.5 and Couchbase Server 5.0, mobile, web, and desktop apps can seamlessly access documents in the same Couchbase Server bucket, eliminating the need for separate Sync Gateways for each application type. Prior to this update, developers had to opt for either Bucket Shadowing or routing documents through the Sync Gateway using the REST interface. Now, with Unified Bucket Access enabled, developers can easily replicate changes made to the server via the Couchbase SDK to mobile clients and vice versa, all while utilizing the same Couchbase Server bucket. The new configuration options in the Sync Gateway Config file enable shared bucket access, allowing for automatic import of documents added via the SDK and association with relevant sync metadata. Accessing sync metadata can be done through the Sync Gateway's _raw Admin REST API or by querying XAttr values.