Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-1390

Add warning threshold for excessively large number of channels per user

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0
    • SyncGateway
    • Security Level: Public
    • None
    • CBG Sprint 72, CBG Sprint 73, CBG Sprint 74
    • 2

    Description

      We already have warning thresholds to nudge customers away from potential issues.
      Those existing today are:

      • xattrr size limits (90% of 1MB)
      • channels per doc (50)
      • access grants per doc (50)

       

      We could also add a new warning about channel count per user, to give early warning about running into memory issues with extremely high numbers of channels per user.

      The expected limits of channels per user are higher than the ~50 we expect to see on a single doc.

      Warning at >1000 channels per user seems to be a reasonable balance, but open to suggestions.

      Attachments

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

        Activity

          Build sync_gateway-3.0.0-204 contains sync_gateway commit 619961a with commit message:
          CBG-1390 Add warning threshold for excessively large number of channels per user (#4998)

          build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-204 contains sync_gateway commit 619961a with commit message: CBG-1390 Add warning threshold for excessively large number of channels per user (#4998)
          adamf Adam Fraser added a comment - - edited

          General approach seems fine, let's use 50000 as the number, and have a way for customers to disable the warning if they have sized for this use case, in the same way the items listed above are doing.

          adamf Adam Fraser added a comment - - edited General approach seems fine, let's use 50000 as the number, and have a way for customers to disable the warning if they have sized for this use case, in the same way the items listed above are doing.

          People

            sarath.kumarsivan Sarath Kumar Sivan (Inactive)
            ben.brooks Ben Brooks
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty