Glossary
Throttling
A cap on how often something may happen. Ten messages a second from one account, one typing notice every few seconds, a thousand API calls a minute per key: throttling is the policy, and the rest of the stack enforces it.
General definition
Throttling controls the rate of an action over time. It can delay (queue the surplus and let it through later), reject (return an error such as HTTP 429 Too Many Requests) or degrade (serve a cheaper response). The term overlaps with two neighbours, and the distinction is mostly about where the control lives:
- Rate limiting is throttling applied at an API boundary, usually per API key or IP address, enforced by an API gateway or load balancer with algorithms such as token bucket, leaky bucket or sliding window
- Debouncing is client-side: a burst of events collapses into one, for example waiting until the user stops typing before sending a search request. Client-side throttling lets one event through per interval instead
- Quotas are throttling over long windows, such as a monthly message allowance per plan
In chat, throttling protects three things. The server, from any single client that could otherwise flood it. Other users, from spam, mass invites and notification storms. And the budget, when each message triggers downstream work such as push delivery, moderation or an AI agent call. Typical rules: a per-user message rate with a short burst allowance; typing indicators sent at most once every few seconds and relayed no more often than that; presence updates coalesced; media uploads capped by size and count; and account-level limits on room creation and invitations that tighten for new or unverified accounts.
Good throttling is transparent and recoverable. Responses carry Retry-After or rate-limit headers so clients can back off instead of retrying blindly, limits are scoped so one noisy tenant cannot consume another’s share, and the thresholds are observable: a dashboard of how often each limit fires tells you whether it is catching abuse or blocking legitimate use. Throttling is the blunt companion of a spam filter: the filter judges content, the throttle judges volume.
Building this into your own app? The Ethora chat SDK covers iOS, Android, React and React Native, with push notifications and file sharing included.
In the Ethora ecosystem
Ethora applies limits at the platform level. Calls to the REST API are rate limited per app token and API token, so a misbehaving integration or a leaked key is contained rather than able to drain a cluster. In the chat path, ejabberd traffic shapers cap how fast a single connection can send, and the SDKs send typing and presence signals at a controlled cadence rather than on every keystroke. Each customer App is an isolated container of users, rooms and data, which is also the unit at which limits are scoped on the shared managed cloud.
Content-level abuse is a separate layer: the Trust & Safety system applies stop words, regex and AI auto-moderation with block, censor, quarantine-and-report or report-only actions. Volume limits and content rules together are what keep a public room usable; the Chat SDK page lists both.