{"id":2378,"date":"2016-08-31T18:52:52","date_gmt":"2016-08-31T18:52:51","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=2378"},"modified":"2025-10-09T07:21:59","modified_gmt":"2025-10-09T14:21:59","slug":"new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/","title":{"rendered":"New in Couchbase Mobile v1.3: Inter-instance Replication in Sync Gateway"},"content":{"rendered":"<h2 style=\"font-size: 15px\"><img decoding=\"async\" src=\"\/wp-content\/original-assets\/2016\/august\/new-couchbase-mobile-v1.3-inter-instance-replication-sync-gateway\/dna_replication_split_horizontal.svg.png\" alt=\"DNA undergoing replication.\" align=\"middle\" \/><\/h2>\n<p style=\"text-align: center;font-size: 50%\">DNA undergoing replication.<\/p>\n<p style=\"text-align: center;font-size: 50%\">Graphic courtesy of <a href=\"https:\/\/commons.wikimedia.org\/wiki\/User:Madprime\">Madprime<\/a> with permission under license <a href=\"https:\/\/creativecommons.org\/licenses\/by-sa\/2.0\/deed.en\">CC BY-SA 2.0<\/a><\/p>\n<h2 style=\"font-size: 15px\">Sync Gateway<\/h2>\n<p style=\"color: #333333;font-size: 15px\"><a style=\"color: #1b8be0;font-style: inherit;font-weight: inherit;line-height: 1.625;text-decoration: none\" href=\"https:\/\/developer.couchbase.com\/documentation\/mobile\/current\/get-started\/sync-gateway-overview\/index.html?utm_source=blogs&amp;utm_medium=link&amp;utm_campaign=blogs\">Sync Gateway<\/a>\u00a0forms the &#8220;glue&#8221; between\u00a0<a style=\"color: #1b8be0;font-style: inherit;font-weight: inherit;line-height: 1.625;text-decoration: none\" href=\"https:\/\/www.couchbase.com\/developers\/mobile\/?utm_source=blogs&amp;utm_medium=link&amp;utm_campaign=blogs\">Couchbase Lite<\/a>\u00a0and\u00a0<a style=\"color: #1b8be0;font-style: inherit;font-weight: inherit;line-height: 1.625;text-decoration: none\" href=\"https:\/\/www.couchbase.com\/nosql-databases\/couchbase-server?utm_source=blogs&amp;utm_medium=link&amp;utm_campaign=blogs\">Couchbase Server<\/a>\u00a0in the\u00a0<a style=\"color: #1b8be0;font-style: inherit;font-weight: inherit;line-height: 1.625;text-decoration: none\" href=\"https:\/\/www.couchbase.com\/developers\/mobile\/?utm_source=blogs&amp;utm_medium=link&amp;utm_campaign=blogs\">Couchbase Mobile<\/a>\u00a0stack. \u00a0It&#8217;s a<span class=\"s1\" style=\"color: inherit;font-style: inherit;font-weight: inherit;line-height: 1.625\">\u00a0secure web gateway that enables sync and data access over the web.<\/span><\/p>\n<p style=\"color: #333333;font-size: 15px\">That&#8217;s one way to look at it, which doesn&#8217;t really do Sync Gateway justice. \u00a0You can intelligently use it to link together clients without any back end, for example. \u00a0In a\u00a0<a style=\"color: #1b8be0;font-style: inherit;font-weight: inherit;line-height: 1.625;text-decoration: none\" href=\"https:\/\/www.couchbase.com\/blog\/couchbase-mobile-v1.3-openid-connect\/\">previous post<\/a>, I talked about OpenID Connect support. \u00a0Sync Gateway acts there to ease the whole authorization flow. \u00a0There&#8217;s more, but in this post I want to focus on a new capability added in version 1.3.<\/p>\n<h2 style=\"font-size: 15px\">A Deeper Look at Syncing<\/h2>\n<p style=\"color: #333333;font-size: 15px\">Syncing (short for synchronizing) refers to keeping data consistent across two or more instances of a database. \u00a0Syncing can be a difficult problem. \u00a0Any time two writers try to make conflicting changes, the architecture has to deal with it.<\/p>\n<p style=\"color: #333333;font-size: 15px\">Some databases simply ignore the issue, forcing a single-writer only use. \u00a0Others depend on detecting conflicts in real time and rejecting them. \u00a0These approaches don&#8217;t work in cases where different copies of the database can&#8217;t always communicate to coordinate.<\/p>\n<p style=\"color: #333333;font-size: 15px\">A good\u00a0sync architecture\u00a0is a critical component of a full solution that addresses uses where a device may be on a slow network connection, or be disconnected entirely part of the time. \u00a0Sync Gateway implements a core piece of that architecture in Couchbase.<\/p>\n<p style=\"color: #333333;font-size: 15px\">We refer to the full stack as Couchbase Mobile. \u00a0Mobile uses are an obvious case where offline performance can be important. \u00a0Really, though, you can use Couchbase Mobile, including Sync Gateway, in many other scenarios. \u00a0Couchbase Lite and Sync Gateway run on a broad range of platforms, and are typically easy to port to new ones. \u00a0This makes Couchbase Mobile useful for anything from desktop (or maybe I should say laptop) to IoT.<\/p>\n<p style=\"color: #333333;font-size: 15px\">Here are some of the key feature to know about Sync Gateway replications in general:<\/p>\n<ul style=\"color: #333333;font-size: 15px\">\n<li style=\"color: inherit;font-style: inherit;font-weight: inherit;line-height: 1.625\">JSON configuration to specify replications<\/li>\n<li style=\"color: inherit;font-style: inherit;font-weight: inherit;line-height: 1.625\">Supports multiple replications running concurrently<\/li>\n<li style=\"color: inherit;font-style: inherit;font-weight: inherit;line-height: 1.625\">Can run both OneShot and Continuous replications<\/li>\n<li style=\"color: inherit;font-style: inherit;font-weight: inherit;line-height: 1.625\">Does not store anything persistently<\/li>\n<li style=\"color: inherit;font-style: inherit;font-weight: inherit;line-height: 1.625\">Stateless &#8212; can be interrupted\/restarted anytime without negative side effects<\/li>\n<li style=\"color: inherit;font-style: inherit;font-weight: inherit;line-height: 1.625\">Filter replications using channels<\/li>\n<\/ul>\n<h2 style=\"font-size: 15px\">Inter-instance Replication<\/h2>\n<p style=\"color: #333333;font-size: 15px\">Release 1.3 adds a new capability to Sync Gateway, the ability to replicate (sync) between Sync Gateway instances. \u00a0Each replication gets configured as a uni-directional flow between two endpoints. \u00a0This makes them quite flexible.<\/p>\n<p style=\"color: #333333;font-size: 15px\">For example, a simple replication can specify two databases on the same Sync Gateway instance. \u00a0This might not seem that interesting, but because each database can have its own sync function, you might use one database as a feeder for another, allowing complex business logic to manage what gets passed through.<\/p>\n<p style=\"color: #333333;font-size: 15px\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-220\" style=\"color: inherit;font-style: inherit;font-weight: inherit;line-height: 1.625;height: auto;max-width: 97.5%;border: 1px solid #dddddd;padding: 6px;margin-top: 0.4em;width: auto\" src=\"\/wp-content\/original-assets\/2016\/august\/new-couchbase-mobile-v1.3-inter-instance-replication-sync-gateway\/sg-inter-instance.png\" alt=\"running-replications\" width=\"1920\" height=\"776\" \/><\/p>\n<p style=\"color: #333333;font-size: 15px\">This diagram shows a more typical\u00a0use case. \u00a0Here, we have two Couchbase Server clusters, and two Sync Gateway clusters. \u00a0The Sync Gateway clusters run a bi-directional replication (really, two uni-directional replications). \u00a0This could form the basis for a globally distributed system. \u00a0Standard network routing procedures would ensure clients connect to the nearest Sync Gateway, improving network performance. \u00a0For more details on replication in Sync Gateway, take a look at the documentation\u00a0<a style=\"color: #1b8be0;font-style: inherit;font-weight: inherit;line-height: 1.625;text-decoration: none\" href=\"https:\/\/developer.couchbase.com\/documentation\/mobile\/current\/develop\/guides\/sync-gateway\/running-replications\/index.html\">here<\/a>.<\/p>\n<h2 style=\"font-size: 15px\">Document Revisions and Conflicts<\/h2>\n<p style=\"color: #333333;font-size: 15px\">It&#8217;s important to understand how Couchbase Mobile handles conflict resolution. \u00a0CBM uses what&#8217;s known as a multiversion concurrency control. \u00a0You can think of CBM as storing not just one version of a document, but rather a tree of revisions. \u00a0Two disconnected writes updating the same original revision of a document create two new revisions. \u00a0Both exist in the tree. \u00a0Couchbase gives you several ways to resolve the conflict. \u00a0See the documentation\u00a0<a style=\"color: #1b8be0;font-style: inherit;font-weight: inherit;line-height: 1.625;text-decoration: none\" href=\"https:\/\/developer.couchbase.com\/documentation\/mobile\/current\/develop\/guides\/couchbase-lite\/native-api\/revision\/index.html\">here<\/a>\u00a0for more details.<\/p>\n<h2 class=\"graf--h4 graf-after--h2\" style=\"font-size: 15px\">More Resources<\/h2>\n<p class=\"graf--h4 graf-after--h2\" style=\"color: #333333;font-size: 15px\">Adam Wiggins, co-founder of Heroku, wrote a great article on why\u00a0<a style=\"color: #1b8be0;font-style: inherit;font-weight: inherit;line-height: 1.625;text-decoration: none\" href=\"https:\/\/medium.com\/wandering-cto\/mobile-syncing-with-couchbase-6f076d8c7e08#.6o2qbsop7\">syncing offers a better UX<\/a>.<\/p>\n<p class=\"graf--h4 graf-after--h2\" style=\"color: #333333;font-size: 15px\">I&#8217;ll be posting a follow-up article soon illustrating a simple example of inter-instance replication. \u00a0You can find the code on\u00a0<a style=\"color: #1b8be0;font-style: inherit;font-weight: inherit;line-height: 1.625;text-decoration: none\" href=\"https:\/\/github.com\/HodGreeley\/couchbase-lite-java-sg-replicate\">github<\/a>.\u00a0(Please note, this is an intentionally simple example. \u00a0It is not intended as production quality code.)<\/p>\n<h2 id=\"truepostscript\" style=\"box-sizing: inherit;text-align: start;border: 0px\">Postscript<\/h2>\n<div class=\"sectionbody\" style=\"box-sizing: inherit;text-align: start;border: 0px\">\n<div class=\"paragraph data-line-149\" style=\"box-sizing: inherit;border: 0px;font-family: inherit;font-style: inherit;font-weight: inherit;vertical-align: baseline\">\n<p style=\"box-sizing: inherit;margin-bottom: 1.625em;border: 0px;font-family: inherit;font-style: inherit;font-weight: inherit;vertical-align: baseline\">Check out more resources on our\u00a0<a style=\"box-sizing: inherit;color: #1982d1;text-decoration: none;border: 0px;font-family: inherit;font-style: inherit;font-weight: inherit;margin: 0px;padding: 0px;vertical-align: baseline;background-image: none;background-attachment: initial;background-size: initial;background-position: initial;background-repeat: initial\" href=\"https:\/\/www.couchbase.com\/developers\/community\/?utm_source=blogs&amp;utm_medium=link&amp;utm_campaign=blogs\">developer portal<\/a>\u00a0and follow us on Twitter\u00a0<a style=\"box-sizing: inherit;color: #1982d1;text-decoration: none;border: 0px;font-family: inherit;font-style: inherit;font-weight: inherit;margin: 0px;padding: 0px;vertical-align: baseline;background-image: none;background-attachment: initial;background-size: initial;background-position: initial;background-repeat: initial\" href=\"https:\/\/twitter.com\/CouchbaseDev\">@CouchbaseDev<\/a>.<\/p>\n<p style=\"box-sizing: inherit;margin-bottom: 1.625em;border: 0px;font-family: inherit;font-style: inherit;font-weight: inherit;vertical-align: baseline\">You can post questions on our\u00a0<a style=\"box-sizing: inherit;color: #1982d1;text-decoration: none;border: 0px;font-family: inherit;font-style: inherit;font-weight: inherit;margin: 0px;padding: 0px;vertical-align: baseline;background-image: none;background-attachment: initial;background-size: initial;background-position: initial;background-repeat: initial\" href=\"https:\/\/www.couchbase.com\/forums\/?utm_source=blogs&amp;utm_medium=link&amp;utm_campaign=blogs\">forums<\/a>. And we actively participate on\u00a0<a style=\"box-sizing: inherit;color: #1982d1;text-decoration: none;border: 0px;font-family: inherit;font-style: inherit;font-weight: inherit;margin: 0px;padding: 0px;vertical-align: baseline;background-image: none;background-attachment: initial;background-size: initial;background-position: initial;background-repeat: initial\" href=\"https:\/\/stackoverflow.com\/questions\/tagged\/couchbase\">Stack Overflow<\/a>.<\/p>\n<\/div>\n<div class=\"paragraph data-line-151\" style=\"box-sizing: inherit;border: 0px;font-family: inherit;font-style: inherit;font-weight: inherit;vertical-align: baseline\">\n<p style=\"box-sizing: inherit;margin-bottom: 1.625em;border: 0px;font-family: inherit;font-style: inherit;font-weight: inherit;vertical-align: baseline\">You can follow me personally at\u00a0<a style=\"box-sizing: inherit;color: #1982d1;text-decoration: none;border: 0px;font-family: inherit;font-style: inherit;font-weight: inherit;margin: 0px;padding: 0px;vertical-align: baseline;background-image: none;background-attachment: initial;background-size: initial;background-position: initial;background-repeat: initial\" href=\"https:\/\/twitter.com\/HodGreeley\">@HodGreeley<\/a><\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>DNA undergoing replication. Graphic courtesy of Madprime with permission under license CC BY-SA 2.0 Sync Gateway Sync Gateway\u00a0forms the &#8220;glue&#8221; between\u00a0Couchbase Lite\u00a0and\u00a0Couchbase Server\u00a0in the\u00a0Couchbase Mobile\u00a0stack. \u00a0It&#8217;s a\u00a0secure web gateway that enables sync and data access over the web. That&#8217;s one [&hellip;]<\/p>\n","protected":false},"author":73,"featured_media":13873,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1810],"tags":[],"ppma_author":[9042],"class_list":["post-2378","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-couchbase-mobile"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.1 (Yoast SEO v26.1.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>New in Couchbase Mobile v1.3: Inter-instance Replication in Sync Gateway - The Couchbase Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"New in Couchbase Mobile v1.3: Inter-instance Replication in Sync Gateway\" \/>\n<meta property=\"og:description\" content=\"DNA undergoing replication. Graphic courtesy of Madprime with permission under license CC BY-SA 2.0 Sync Gateway Sync Gateway\u00a0forms the &#8220;glue&#8221; between\u00a0Couchbase Lite\u00a0and\u00a0Couchbase Server\u00a0in the\u00a0Couchbase Mobile\u00a0stack. \u00a0It&#8217;s a\u00a0secure web gateway that enables sync and data access over the web. That&#8217;s one [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2016-08-31T18:52:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-09T14:21:59+00:00\" \/>\n<meta name=\"author\" content=\"Hod Greeley, Developer Advocate, Couchbase\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@HodGreeley\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hod Greeley, Developer Advocate, Couchbase\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/\"},\"author\":{\"name\":\"Hod Greeley, Developer Advocate, Couchbase\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/9b62593c8a13531e53d52fcd5aabbca4\"},\"headline\":\"New in Couchbase Mobile v1.3: Inter-instance Replication in Sync Gateway\",\"datePublished\":\"2016-08-31T18:52:51+00:00\",\"dateModified\":\"2025-10-09T14:21:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/\"},\"wordCount\":711,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"articleSection\":[\"Couchbase Mobile\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/\",\"name\":\"New in Couchbase Mobile v1.3: Inter-instance Replication in Sync Gateway - The Couchbase Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"datePublished\":\"2016-08-31T18:52:51+00:00\",\"dateModified\":\"2025-10-09T14:21:59+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/#primaryimage\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"width\":1800,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"New in Couchbase Mobile v1.3: Inter-instance Replication in Sync Gateway\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"name\":\"The Couchbase Blog\",\"description\":\"Couchbase, the NoSQL Database\",\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"width\":218,\"height\":34,\"caption\":\"The Couchbase Blog\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/9b62593c8a13531e53d52fcd5aabbca4\",\"name\":\"Hod Greeley, Developer Advocate, Couchbase\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/21eb69cb5d4a401fb23b149e4f4e9e87\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/52d0018695c0ced0d1c68cf64a6195c81dbac03dce5983f98eb209e7c84350df?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/52d0018695c0ced0d1c68cf64a6195c81dbac03dce5983f98eb209e7c84350df?s=96&d=mm&r=g\",\"caption\":\"Hod Greeley, Developer Advocate, Couchbase\"},\"description\":\"Hod Greeley is a Developer Advocate for Couchbase, living in Silicon Valley. He has over two decades of experience as a software engineer and engineering manager. He has worked in a variety of software fields, including computational physics and chemistry, computer and network security, finance, and mobile. Prior to joining Couchbase in 2016, Hod led developer relations for mobile at Samsung. Hod holds a Ph.D. in chemical physics from Columbia University.\",\"sameAs\":[\"https:\/\/hod.greeley.org\/blog\",\"https:\/\/x.com\/HodGreeley\"],\"url\":\"https:\/\/www.couchbase.com\/blog\/author\/hod-greeley\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"New in Couchbase Mobile v1.3: Inter-instance Replication in Sync Gateway - The Couchbase Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/","og_locale":"en_US","og_type":"article","og_title":"New in Couchbase Mobile v1.3: Inter-instance Replication in Sync Gateway","og_description":"DNA undergoing replication. Graphic courtesy of Madprime with permission under license CC BY-SA 2.0 Sync Gateway Sync Gateway\u00a0forms the &#8220;glue&#8221; between\u00a0Couchbase Lite\u00a0and\u00a0Couchbase Server\u00a0in the\u00a0Couchbase Mobile\u00a0stack. \u00a0It&#8217;s a\u00a0secure web gateway that enables sync and data access over the web. That&#8217;s one [&hellip;]","og_url":"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/","og_site_name":"The Couchbase Blog","article_published_time":"2016-08-31T18:52:51+00:00","article_modified_time":"2025-10-09T14:21:59+00:00","author":"Hod Greeley, Developer Advocate, Couchbase","twitter_card":"summary_large_image","twitter_creator":"@HodGreeley","twitter_misc":{"Written by":"Hod Greeley, Developer Advocate, Couchbase","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/"},"author":{"name":"Hod Greeley, Developer Advocate, Couchbase","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/9b62593c8a13531e53d52fcd5aabbca4"},"headline":"New in Couchbase Mobile v1.3: Inter-instance Replication in Sync Gateway","datePublished":"2016-08-31T18:52:51+00:00","dateModified":"2025-10-09T14:21:59+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/"},"wordCount":711,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","articleSection":["Couchbase Mobile"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/","url":"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/","name":"New in Couchbase Mobile v1.3: Inter-instance Replication in Sync Gateway - The Couchbase Blog","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","datePublished":"2016-08-31T18:52:51+00:00","dateModified":"2025-10-09T14:21:59+00:00","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","width":1800,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"New in Couchbase Mobile v1.3: Inter-instance Replication in Sync Gateway"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/blog\/#website","url":"https:\/\/www.couchbase.com\/blog\/","name":"The Couchbase Blog","description":"Couchbase, the NoSQL Database","publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"The Couchbase Blog","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","width":218,"height":34,"caption":"The Couchbase Blog"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/9b62593c8a13531e53d52fcd5aabbca4","name":"Hod Greeley, Developer Advocate, Couchbase","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/21eb69cb5d4a401fb23b149e4f4e9e87","url":"https:\/\/secure.gravatar.com\/avatar\/52d0018695c0ced0d1c68cf64a6195c81dbac03dce5983f98eb209e7c84350df?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/52d0018695c0ced0d1c68cf64a6195c81dbac03dce5983f98eb209e7c84350df?s=96&d=mm&r=g","caption":"Hod Greeley, Developer Advocate, Couchbase"},"description":"Hod Greeley is a Developer Advocate for Couchbase, living in Silicon Valley. He has over two decades of experience as a software engineer and engineering manager. He has worked in a variety of software fields, including computational physics and chemistry, computer and network security, finance, and mobile. Prior to joining Couchbase in 2016, Hod led developer relations for mobile at Samsung. Hod holds a Ph.D. in chemical physics from Columbia University.","sameAs":["https:\/\/hod.greeley.org\/blog","https:\/\/x.com\/HodGreeley"],"url":"https:\/\/www.couchbase.com\/blog\/author\/hod-greeley\/"}]}},"authors":[{"term_id":9042,"user_id":73,"is_guest":0,"slug":"hod-greeley","display_name":"Hod Greeley, Developer Advocate, Couchbase","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/52d0018695c0ced0d1c68cf64a6195c81dbac03dce5983f98eb209e7c84350df?s=96&d=mm&r=g","author_category":"","last_name":"Greeley","first_name":"Hod","job_title":"","user_url":"https:\/\/hod.greeley.org\/blog","description":"Hod Greeley is a Developer Advocate for Couchbase, living in Silicon Valley. He has over two decades of experience as a software engineer and engineering manager. He has worked in a variety of software fields, including computational physics and chemistry, computer and network security, finance, and mobile. Prior to joining Couchbase in 2016, Hod led developer relations for mobile at Samsung. Hod holds a Ph.D. in chemical physics from Columbia University."}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/2378","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/users\/73"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/comments?post=2378"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/2378\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media\/13873"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media?parent=2378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/categories?post=2378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/tags?post=2378"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=2378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}