Rate limiting(速率限制/限流):一种控制在单位时间内允许的请求、操作或数据传输次数/速率的机制,常用于防止滥用、抵御攻击、保护系统稳定性与公平分配资源。(在不同语境中也可指对 API 调用频率、登录尝试次数、发送消息速度等进行限制。)
/ˈreɪt ˌlɪmɪtɪŋ/
The API uses rate limiting to prevent abuse.
该 API 使用限流来防止滥用。
To keep the service reliable during peak traffic, the gateway applies rate limiting per user and returns a 429 error when the limit is exceeded.
为在流量高峰期保持服务可靠,网关会按用户实施限流,超过限制时返回 429 错误。
由 rate(速率、频率) + limiting(限制) 组合而成的技术用语,字面意思是“限制速率”。在互联网与分布式系统领域中逐渐固定为指“限制请求/调用频率”的常见概念。