Catalogue / hubspot-2024-hbase-quotas

HubSpot throttles every internal caller of its HBase clusters per RegionServer by default, using quotas keyed on the original caller

HubSpot, 2024. HBase clusters and their quota-based resource sharing.

Organisation
HubSpot
Evidence
Reported from production
Source
Using HBase Quotas to Share Resources at Scale

HubSpot Engineering Blog, published 2024-10-02

Records

Decision#d1

Throttle the original caller, not the proxy service, by passing its name to HBase quotas as a request attribute

Decision#d2

Apply a default per-RegionServer throttle to every user instead of throttling by hand after an outage

Decision#d3

Switch quotas to the fixed-interval rate limiter with a 50ms refill interval so throttled clients back off sensibly

Decision#d4

Refresh quota definitions on RegionServers far more often than the default five minutes

Decision#d5

Charge read quotas by block IO and replace the fixed one-block scan estimate

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.