Showing posts with the label Rate Limiting

[MSA 핵심 패턴] API 게이트웨이를 활용한 중앙 집중형 인증 및 트래픽 제어

마이크로서비스 아키텍처(MSA) 환경에서 서비스가 수십 개로 분할되면, 각 서비스가 개별적으로 JWT 토큰을 검증하고 트래픽 제한(Rate Limiting) 로직을 구현해야 하는 문제에 직면한다. 이는 심각한 코드 중복을 유발하고 시스템 전체의 보안 정책 일관성을…
[MSA 핵심 패턴] API 게이트웨이를 활용한 중앙 집중형 인증 및 트래픽 제어

Stopping API Abuse: Migrating from Fixed Window to Redis Sliding Window (Lua Implementation)

At 00:00:01, our database CPU spiked to 98%. We were supposed to have strict API Rate Limiting in place—capped at 1,000 requests per minute. Yet, …
Stopping API Abuse: Migrating from Fixed Window to Redis Sliding Window (Lua Implementation)
OlderHomeNewest