PRODUCTION SYNC FOR MOBILE APPS
Couchbase Sync Gateway
Sync Gateway is the self-hosted sync engine for Couchbase Mobile. Architect star, hierarchical, or hybrid topologies with bidirectional replication, conflict resolution, and granular access built in.

Sync you can bet the business on
Production-grade replication, security, and scale for cloud-to-edge-to-device deployments. No custom sync stack to build or maintain.

Automatic bidirectional sync
Move data between cloud, edge, and device without custom code. Networks pause and resume without losing state or context.

Sicherheit auf Unternehmensniveau
RBAC, standard and custom auth, and end-to-end encryption meet the compliance bar in regulated industries.

Scale to millions of devices
Add nodes horizontally across a shared-nothing architecture. Tune read and write scaling to match your traffic.

Accurate conflict resolution
Version-vector handling resolves competing writes across time zones and clock-skewed clients.
What is Sync Gateway?
The self-managed sync engine for Couchbase Mobile. It moves data between Couchbase Server, Couchbase Edge Server, and Couchbase Lite on every device.
Sync data securely across every tier of your architecture: Couchbase Server or Capella in the cloud, Couchbase Edge Server at the edge, and Couchbase Lite on each device. Compose star, hierarchical, peer-to-peer, or hybrid topologies from one set of components.
Access and manage data over the web with secure RESTful APIs. Webhooks push change events to external clients, data stores, and downstream pipelines, so Sync Gateway plugs into the systems already running your business.
Enforce read and write access from the scope and collection level down to individual users and roles. Sync functions provide programmable document-level routing and access control. The Admin REST API is authenticated by default, with support for OIDC, LDAP, and custom providers.
Scale horizontally to serve millions of connected devices. Tunable read and write options match performance to load. Sync Gateway-to-Sync Gateway Replication (ISGR) enables multi-tier deployments without custom middleware, so tiers grow independently.
KUNDENGESCHICHTEN
Sync at real-world scale
CAPABILITIES
One sync engine for every deployment topology
Move data between server, edge, and device on your terms, with the security and scale enterprise apps demand.
- Automatic
- Sicher
- Skalierbar
- Accurate
Bidirectional sync from cloud to edge devices. Features smart-pause when the network drops and auto-resumes when it returns.
Everything you need to run sync in production
Bidirectional replication
Sync changes in both directions between cloud, edge, and device. Networks pause, resume, and reconnect without data loss.
Secure data via RBAC, standard/custom auth, and full encryption. Regulatory compliance and data sovereignty enforced at the gateway.
Everything you need to run sync in production
Granular access control
Control read and write access down to the user, role, document, and field level.
Shared-nothing nodes scale horizontally to support millions of devices. Replicate gateway-to-gateway for multi-tier architectures.
Everything you need to run sync in production
Multi-tier ISGR
Sync Gateway-to-Sync Gateway Replication chains tiers together for hierarchical deployments, no custom middleware.
Version-vector conflict resolution ensures accuracy across devices with clock skew. Customize with predefined or custom resolvers.
Everything you need to run sync in production
Version-vector conflict resolution
Resolve conflicting writes accurately across time zones and clock-skewed clients, with customizable merge policies.
- Edge sync
- Multi site
ARCHITEKTUR
Device to cloud and back

Couchbase Lite is a fully-featured embedded database that sits on each device (whether it is mobile, IoT, or desktop), and can sync data bidirectionally. Document changes can be pulled from Couchbase Server through Sync Gateway (or the managed version, App Services) to the device and pushed back.
ARCHITEKTUR
Inter-Sync Gateway Replication

Scales seamlessly to thousands of isolated edge environments across LAN, WAN, and regional networks. Built-in resiliency with automatic retries and exponential backoff handles unreliable WAN links. Hierarchical topologies let regional hubs aggregate before forwarding to cloud. Fully managed and monitored via secure admin REST APIs.

PREFER FULLY MANAGED?
Sync as a managed service
Capella App Services delivers Sync Gateway as a fully hosted and managed backend. Same sync engine, same security model, no servers to operate. Run it as a service when you want speed to production, or self-host Sync Gateway when you need control over the environment.
Deployment options for Sync Gateway
SELF-MANAGED
Sync-Gateway
Self-hosted sync engine connecting Couchbase Server to Couchbase Lite and Edge Server. Build any topology: star, hierarchical, hybrid. Includes bidirectional replication, conflict resolution, routing, and access control. No custom sync code. No maintenance overhead.
FULLY MANAGED
App-Dienste
Fully managed Sync Gateway deployment integrated with your Capella database. Same-VPC architecture with automatic infrastructure provisioning, load balancing, and security. Eliminates operational overhead while ensuring resilient data sync for Couchbase Mobile clients.
Sync Gateway FAQ
Quick answers about Sync Gateway’s conflict resolution, delta sync, authentication, and how it compares to Capella App Services.
Sync Gateway is a self-managed synchronization server that enables secure, bidirectional data sync between Couchbase Server and mobile, IoT, and edge apps running Couchbase Lite.
Sync Gateway includes customizable conflict resolution policies, letting you define how conflicting changes from different devices are detected, merged, or resolved automatically.
Yes. Sync Gateway’s built-in delta sync transmits only changed data rather than full documents, reducing bandwidth consumption and improving sync performance on constrained networks.
Sync Gateway supports OpenID Connect, OAuth 2.0, Basic, and custom authentication providers, plus granular role-based access control at the document and field level.
Sync Gateway is self-managed and deployed on your own infrastructure. Capella App Services is the fully managed, hosted equivalent – same sync capabilities, no servers to operate.



