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

          ben.brooks Ben Brooks created issue -
          ben.brooks Ben Brooks made changes -
          Field Original Value New Value
          Link This issue relates to CBSE-10029 [ CBSE-10029 ]
          ben.brooks Ben Brooks made changes -
          Link This issue relates to CBSE-10005 [ CBSE-10005 ]
          ben.brooks Ben Brooks made changes -
          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 channels per user to warn customers 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.
          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.
          adamf Adam Fraser made changes -
          Assignee The One [ the one ] Sarath Kumar Sivan [ sarath.kumarsivan ]
          adamf Adam Fraser made changes -
          Sprint CBG Sprint 72 [ 1550 ]
          adamf Adam Fraser made changes -
          Rank Ranked lower
          adamf Adam Fraser made changes -
          Sprint CBG Sprint 72 [ 1550 ] CBG Sprint 72, CBG Sprint 73 [ 1550, 1586 ]
          sarath.kumarsivan Sarath Kumar Sivan (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Automated transition triggered when Sarath Kumar Sivan created pull request #4998 in GitHub -
          Status In Progress [ 3 ] In Review [ 10107 ]
          adamf Adam Fraser made changes -
          Sprint CBG Sprint 72, CBG Sprint 73 [ 1550, 1586 ] CBG Sprint 72, CBG Sprint 73, CBG Sprint 74 [ 1550, 1586, 1604 ]
          sarath.kumarsivan Sarath Kumar Sivan (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status In Review [ 10107 ] Resolved [ 5 ]
          sarath.kumarsivan Sarath Kumar Sivan (Inactive) made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

          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