Rate Limiting
속도 제한
속도 제한은 하나의 아이덴티티, 키, 또는 시간 창에 대해 허용된 요청이나 비용이 많이 드는 작업을 제어합니다.
다른 예시
로그인에 여러 번 실패하면 새로 시도하는 속도가 느려져. 진짜 사용자는 여전히 계정 복구를 쓸 수 있어.
주요 부분
- 01Identity or input
- 02Policy or transformation
- 03Stored result and audit evidence
사용할 때
남용, 브루트포스 공격 및 실수로 인한 과부하를 줄이기 위해 가시적 쿼터를 사용하세요.
다음 경우에는 사용하지 마세요
공유 네트워크나 중요한 콜백을 부당하게 차단하는 하나의 전역 제한만 사용하지 마세요.
코드에서 사용된 이름
429 Too Many Requests 출시하기 전에
Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback.
Outcome:Complete the task with 속도 제한 (Rate Limiting)。 User context:로그인에 여러 번 실패하면 새로 시도하는 속도가 느려져. 진짜 사용자는 여전히 계정 복구를 쓸 수 있어. Technical concept or control:속도 제한 (Rate Limiting)。 Why it fits:남용, 브루트포스 공격 및 실수로 인한 과부하를 줄이기 위해 가시적 쿼터를 사용하세요. Do not use it when:공유 네트워크나 중요한 콜백을 부당하게 차단하는 하나의 전역 제한만 사용하지 마세요. Engineering requirements: Define inputs, outputs, contracts, and rules that must always hold. Set authorization and input checks. Define failures, timeouts, retries, one-time effects, data moves, and compatibility limits. Operations: Add useful signals and logs that hide sensitive data. Set capacity limits and write an operator guide. Test recovery and rollback. Acceptance criteria: Contract and failure-path tests pass. Data and authorization rules still hold during retries and partial failures. Check performance limits, monitoring, recovery, and rollback. Evidence and limits (evidence boundary):하나의 공식 표준이 전체 용어를 통제하지 않음. 의미는 팀, 플랫폼 또는 프레임워크마다 달라질 수 있음. Unknowns to confirm: Where the code runs, data stores, traffic shape, consistency needs, and the security boundary. Also confirm the compatibility period, service goals, and rollback limits.
이 요청을 확인하세요
Review how 속도 제한 (Rate Limiting) is used now. Definition: 속도 제한은 하나의 아이덴티티, 키, 또는 시간 창에 대해 허용된 요청이나 비용이 많이 드는 작업을 제어합니다. Release checks: Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.