{"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\/pt\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/","title":{"rendered":"Novidades no Couchbase Mobile v1.3: Replica\u00e7\u00e3o entre inst\u00e2ncias no 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 em processo de replica\u00e7\u00e3o.<\/p>\n<p style=\"text-align: center;font-size: 50%\">Gr\u00e1fico cortesia de <a href=\"https:\/\/commons.wikimedia.org\/wiki\/User:Madprime\">Madprime<\/a> com permiss\u00e3o sob licen\u00e7a <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\">Gateway de sincroniza\u00e7\u00e3o<\/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\">Gateway de sincroniza\u00e7\u00e3o<\/a>\u00a0forma a \"cola\" entre\u00a0<a style=\"color: #1b8be0;font-style: inherit;font-weight: inherit;line-height: 1.625;text-decoration: none\" href=\"https:\/\/www.couchbase.com\/blog\/pt\/developers\/mobile\/?utm_source=blogs&amp;utm_medium=link&amp;utm_campaign=blogs\">Couchbase Lite<\/a>\u00a0e\u00a0<a style=\"color: #1b8be0;font-style: inherit;font-weight: inherit;line-height: 1.625;text-decoration: none\" href=\"https:\/\/www.couchbase.com\/blog\/pt\/nosql-databases\/couchbase-server\/?utm_source=blogs&amp;utm_medium=link&amp;utm_campaign=blogs\">Servidor Couchbase<\/a>\u00a0no\u00a0<a style=\"color: #1b8be0;font-style: inherit;font-weight: inherit;line-height: 1.625;text-decoration: none\" href=\"https:\/\/www.couchbase.com\/blog\/pt\/developers\/mobile\/?utm_source=blogs&amp;utm_medium=link&amp;utm_campaign=blogs\">Couchbase Mobile<\/a>\u00a0pilha.  \u00c9 uma<span class=\"s1\" style=\"color: inherit;font-style: inherit;font-weight: inherit;line-height: 1.625\">\u00a0gateway seguro da Web que permite a sincroniza\u00e7\u00e3o e o acesso a dados pela Web.<\/span><\/p>\n<p style=\"color: #333333;font-size: 15px\">Essa \u00e9 uma maneira de ver as coisas, que n\u00e3o faz justi\u00e7a ao Sync Gateway.  Voc\u00ea pode us\u00e1-lo de forma inteligente para vincular clientes sem nenhum back-end, por exemplo.  Em um\u00a0<a style=\"color: #1b8be0;font-style: inherit;font-weight: inherit;line-height: 1.625;text-decoration: none\" href=\"https:\/\/www.couchbase.com\/blog\/pt\/couchbase-mobile-v1.3-openid-connect\/\">post anterior<\/a>Na se\u00e7\u00e3o \"Suporte ao OpenID Connect\", falei sobre o suporte ao OpenID Connect.  O Sync Gateway atua l\u00e1 para facilitar todo o fluxo de autoriza\u00e7\u00e3o.  H\u00e1 muito mais, mas nesta postagem quero me concentrar em um novo recurso adicionado na vers\u00e3o 1.3.<\/p>\n<h2 style=\"font-size: 15px\">Um olhar mais profundo sobre a sincroniza\u00e7\u00e3o<\/h2>\n<p style=\"color: #333333;font-size: 15px\">A sincroniza\u00e7\u00e3o (abrevia\u00e7\u00e3o de synchronizing) refere-se \u00e0 manuten\u00e7\u00e3o da consist\u00eancia dos dados em duas ou mais inst\u00e2ncias de um banco de dados.  A sincroniza\u00e7\u00e3o pode ser um problema dif\u00edcil.  Sempre que dois escritores tentam fazer altera\u00e7\u00f5es conflitantes, a arquitetura tem de lidar com isso.<\/p>\n<p style=\"color: #333333;font-size: 15px\">Alguns bancos de dados simplesmente ignoram o problema, for\u00e7ando o uso de um \u00fanico gravador.  Outros dependem da detec\u00e7\u00e3o de conflitos em tempo real e da rejei\u00e7\u00e3o dos mesmos.  Essas abordagens n\u00e3o funcionam nos casos em que c\u00f3pias diferentes do banco de dados nem sempre podem se comunicar para coordenar.<\/p>\n<p style=\"color: #333333;font-size: 15px\">Uma boa arquitetura de sincroniza\u00e7\u00e3o \u00e9 um componente essencial de uma solu\u00e7\u00e3o completa que aborda usos em que um dispositivo pode estar em uma conex\u00e3o de rede lenta ou estar totalmente desconectado parte do tempo.  O Sync Gateway implementa uma parte essencial dessa arquitetura no Couchbase.<\/p>\n<p style=\"color: #333333;font-size: 15px\">N\u00f3s nos referimos \u00e0 pilha completa como Couchbase Mobile.  Os usos m\u00f3veis s\u00e3o um caso \u00f3bvio em que o desempenho off-line pode ser importante.  Na verdade, por\u00e9m, voc\u00ea pode usar o Couchbase Mobile, incluindo o Sync Gateway, em muitos outros cen\u00e1rios.  O Couchbase Lite e o Sync Gateway s\u00e3o executados em uma ampla variedade de plataformas e, normalmente, s\u00e3o f\u00e1ceis de portar para novas plataformas.  Isso torna o Couchbase Mobile \u00fatil para qualquer coisa, desde desktop (ou talvez eu devesse dizer laptop) at\u00e9 IoT.<\/p>\n<p style=\"color: #333333;font-size: 15px\">Aqui est\u00e3o alguns dos principais recursos que voc\u00ea deve conhecer sobre as replica\u00e7\u00f5es do Sync Gateway em geral:<\/p>\n<ul style=\"color: #333333;font-size: 15px\">\n<li style=\"color: inherit;font-style: inherit;font-weight: inherit;line-height: 1.625\">Configura\u00e7\u00e3o JSON para especificar replica\u00e7\u00f5es<\/li>\n<li style=\"color: inherit;font-style: inherit;font-weight: inherit;line-height: 1.625\">Oferece suporte a v\u00e1rias r\u00e9plicas executadas simultaneamente<\/li>\n<li style=\"color: inherit;font-style: inherit;font-weight: inherit;line-height: 1.625\">Pode executar replica\u00e7\u00f5es OneShot e cont\u00ednuas<\/li>\n<li style=\"color: inherit;font-style: inherit;font-weight: inherit;line-height: 1.625\">N\u00e3o armazena nada de forma persistente<\/li>\n<li style=\"color: inherit;font-style: inherit;font-weight: inherit;line-height: 1.625\">Sem estado - pode ser interrompido\/reiniciado a qualquer momento sem efeitos colaterais negativos<\/li>\n<li style=\"color: inherit;font-style: inherit;font-weight: inherit;line-height: 1.625\">Filtrar replica\u00e7\u00f5es usando canais<\/li>\n<\/ul>\n<h2 style=\"font-size: 15px\">Replica\u00e7\u00e3o entre inst\u00e2ncias<\/h2>\n<p style=\"color: #333333;font-size: 15px\">A vers\u00e3o 1.3 adiciona um novo recurso ao Sync Gateway, a capacidade de replicar (sincronizar) entre inst\u00e2ncias do Sync Gateway.  Cada replica\u00e7\u00e3o \u00e9 configurada como um fluxo unidirecional entre dois pontos de extremidade.  Isso as torna bastante flex\u00edveis.<\/p>\n<p style=\"color: #333333;font-size: 15px\">Por exemplo, uma replica\u00e7\u00e3o simples pode especificar dois bancos de dados na mesma inst\u00e2ncia do Sync Gateway.  Isso pode n\u00e3o parecer muito interessante, mas como cada banco de dados pode ter sua pr\u00f3pria fun\u00e7\u00e3o de sincroniza\u00e7\u00e3o, voc\u00ea pode usar um banco de dados como alimentador de outro, permitindo que a l\u00f3gica comercial complexa gerencie o que \u00e9 transmitido.<\/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\">Este diagrama mostra um caso de uso mais t\u00edpico.  Aqui, temos dois clusters do Couchbase Server e dois clusters do Sync Gateway.  Os clusters do Sync Gateway executam uma replica\u00e7\u00e3o bidirecional (na verdade, duas replica\u00e7\u00f5es unidirecionais).  Isso poderia formar a base de um sistema distribu\u00eddo globalmente.  Os procedimentos de roteamento de rede padr\u00e3o garantiriam que os clientes se conectassem ao Sync Gateway mais pr\u00f3ximo, melhorando o desempenho da rede.  Para obter mais detalhes sobre a replica\u00e7\u00e3o no Sync Gateway, d\u00ea uma olhada na documenta\u00e7\u00e3o\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\">aqui<\/a>.<\/p>\n<h2 style=\"font-size: 15px\">Revis\u00f5es e conflitos de documentos<\/h2>\n<p style=\"color: #333333;font-size: 15px\">\u00c9 importante entender como o Couchbase Mobile lida com a resolu\u00e7\u00e3o de conflitos.  O CBM usa o que \u00e9 conhecido como controle de simultaneidade de v\u00e1rias vers\u00f5es.  Voc\u00ea pode pensar no CBM como o armazenamento n\u00e3o apenas de uma vers\u00e3o de um documento, mas de uma \u00e1rvore de revis\u00f5es.  Duas grava\u00e7\u00f5es desconectadas que atualizam a mesma revis\u00e3o original de um documento criam duas novas revis\u00f5es.  Ambas existem na \u00e1rvore.  O Couchbase oferece v\u00e1rias maneiras de resolver o conflito.  Consulte a documenta\u00e7\u00e3o\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\">aqui<\/a>\u00a0para obter mais detalhes.<\/p>\n<h2 class=\"graf--h4 graf-after--h2\" style=\"font-size: 15px\">Mais recursos<\/h2>\n<p class=\"graf--h4 graf-after--h2\" style=\"color: #333333;font-size: 15px\">Adam Wiggins, cofundador da Heroku, escreveu um excelente artigo sobre por que\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\">A sincroniza\u00e7\u00e3o oferece uma experi\u00eancia de usu\u00e1rio melhor<\/a>.<\/p>\n<p class=\"graf--h4 graf-after--h2\" style=\"color: #333333;font-size: 15px\">Em breve, publicarei um artigo de acompanhamento ilustrando um exemplo simples de replica\u00e7\u00e3o entre inst\u00e2ncias.  Voc\u00ea pode encontrar o c\u00f3digo em\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>. (Observe que este \u00e9 um exemplo intencionalmente simples.  N\u00e3o se destina a ser um c\u00f3digo de qualidade de produ\u00e7\u00e3o).<\/p>\n<h2 id=\"truepostscript\" style=\"box-sizing: inherit;text-align: start;border: 0px\">P\u00f3s-escrito<\/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\">Confira mais recursos em nosso\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\/blog\/pt\/developers\/community\/?utm_source=blogs&amp;utm_medium=link&amp;utm_campaign=blogs\">portal do desenvolvedor<\/a>\u00a0e nos siga no 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\">Voc\u00ea pode postar perguntas em nosso\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\/blog\/pt\/forums\/?utm_source=blogs&amp;utm_medium=link&amp;utm_campaign=blogs\">f\u00f3runs<\/a>. E participamos ativamente de\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\">Estouro de pilha<\/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\">Voc\u00ea pode me seguir pessoalmente em\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>","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>","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.5 (Yoast SEO v26.5) - 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\/pt\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\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\/pt\/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 minutos\" \/>\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\":\"pt-BR\",\"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\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@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\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@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\":\"pt-BR\",\"@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\/pt\/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\/pt\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/","og_locale":"pt_BR","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\/pt\/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 minutos"},"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":"pt-BR","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":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/new-couchbase-mobile-v1-3-inter-instance-replication-sync-gateway\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@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":"Blog do Couchbase","description":"Couchbase, o banco de dados NoSQL","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":"pt-BR"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"Blog do Couchbase","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@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, Advogado do desenvolvedor, Couchbase","image":{"@type":"ImageObject","inLanguage":"pt-BR","@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 \u00e9 um defensor dos desenvolvedores da Couchbase e mora no Vale do Sil\u00edcio. Ele tem mais de duas d\u00e9cadas de experi\u00eancia como engenheiro de software e gerente de engenharia. Trabalhou em diversas \u00e1reas de software, incluindo f\u00edsica e qu\u00edmica computacional, seguran\u00e7a de computadores e redes, finan\u00e7as e dispositivos m\u00f3veis. Antes de ingressar na Couchbase em 2016, Hod liderou as rela\u00e7\u00f5es com desenvolvedores para dispositivos m\u00f3veis na Samsung. Hod \u00e9 Ph.D. em f\u00edsica qu\u00edmica pela Universidade de Columbia.","sameAs":["https:\/\/hod.greeley.org\/blog","https:\/\/x.com\/HodGreeley"],"url":"https:\/\/www.couchbase.com\/blog\/pt\/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 \u00e9 um defensor dos desenvolvedores da Couchbase e mora no Vale do Sil\u00edcio. Ele tem mais de duas d\u00e9cadas de experi\u00eancia como engenheiro de software e gerente de engenharia. Trabalhou em diversas \u00e1reas de software, incluindo f\u00edsica e qu\u00edmica computacional, seguran\u00e7a de computadores e redes, finan\u00e7as e dispositivos m\u00f3veis. Antes de ingressar na Couchbase em 2016, Hod liderou as rela\u00e7\u00f5es com desenvolvedores para dispositivos m\u00f3veis na Samsung. Hod \u00e9 Ph.D. em f\u00edsica qu\u00edmica pela Universidade de Columbia."}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/2378","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/users\/73"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/comments?post=2378"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/posts\/2378\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media\/13873"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/media?parent=2378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/categories?post=2378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/tags?post=2378"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/pt\/wp-json\/wp\/v2\/ppma_author?post=2378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}