Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-20468

RPC quota requests ineffective due to not counting multi-actions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: rpc
    • Labels:
      None

      Description

      Was digging into a problem with Ankit Singhal where setting RPC quotas on number of requests wasn't having any effect on a multi-Get

      Ankit did enough digging to find that this was because each RPC was being treated as one request instead of the number of requests contained within the RPC itself.

      Thinking as an operator, this is a pretty ineffective control because a user could just craft their API usage easily to work around any kind of limits I want to set to control their impact on the system. TimeBasedLimiter is assuming that one call to the quota code can only count as one request which I think is just wrong.

        Attachments

        1. HBASE-20468.001.patch
          18 kB
          Josh Elser

          Issue Links

            Activity

              People

              • Assignee:
                elserj Josh Elser
                Reporter:
                elserj Josh Elser
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: