Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-37528

Get document from closest/preferred Server Group (from replica if needed)

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 6.0.3
    • clients, ns_server
    • None

    Description

      Here is the use case.

      Couchbase is deployed in a Cloud provider (GCP/AWS/Azure...) on 3 AZ (With 2 replicas in 1 bucket).
      So that we get a copy of the documents in each AZ.

      Application is deployed on 3 AZ as well.
      Write traffic is low but Read traffic would be high.
      Network traffic between AZ has a significant cost and goal is to reduce traffic cross AZ (between application and Couchbase nodes)

      To do so, we could do the following:
      => Retrieve documents from the preferred/closest Group/AZ (could be replica) instead of master being 2/3rd of the time in another AZ.
      => SDK could be configured to provide preferred server group. (application would own the affinity)
      => All nodes in the preferred server group would be sort of local cluster for read operations to the application nodes in the same AZ.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ingenthr Matt Ingenthron
            ludovic.dufrenoy Ludovic Dufrenoy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty