Write your answer here
Loading editor...
Dev4Room
Loading editor...
Search for a command to run...
How to implement Tanstack Form with new shadcn Field component?
How to integrate Tanstack Query with oRPC?
Random question to test global search
What is the difference between ExpressJS and NextJS for backend development?
Why does pandas.concat in Python 3.13 result in MemoryError with small DataFrames when using axis=1?


The answer board is empty. Make it filled with your brilliant answer.
Asked 2 months ago
0
44
You are tasked with designing a scalable Distributed Rate Limiter to protect a high-traffic API ecosystem. The system must support thousands of microservices across multiple geographical regions (e.g., US-East, EU-West) and handle a peak load of 1 million requests per second.
Requirements:
Question: Which algorithm (Leaky Bucket, Token Bucket, or Sliding Window Log) would you choose and why? Describe your data consistency strategy and how you would minimize cross-region latency while maintaining a global count.