Blog

Your dream job? Lets Git IT.
Interactive technical interview preparation platform designed for modern developers.

XGitHub

Platform

  • Categories

Resources

  • Blog
  • About the app
  • FAQ
  • Feedback

Legal

  • Privacy Policy
  • Terms of Service

© 2025 LetsGit.IT. All rights reserved.

LetsGit.IT/Categories/Architecture
Architecturehard

Rate limiting — name two strategies and where you can enforce them.

Tags
#rate-limiting#token-bucket#api-gateway
Back to categoryPractice quiz

Answer

Common strategies are token bucket and leaky bucket (or fixed/sliding window). You can enforce limits at the edge/API gateway, load balancer, or in the app (per user/IP), ideally close to the entry point.

Related questions

Microservices
Distributed rate limiting: why is it harder than a simple in-memory counter?
#microservices#rate-limiting#redis
Cloud
Rate limiting in the cloud: where can you enforce it and why?
#cloud#rate-limiting#waf
Microservices
What is an API Gateway used for?
#api-gateway#routing#security