← 返回 linkedin 的题目列表Rate Limiter System Design
类型:online_judge
Design a Rate Limiter system that supports two levels of quota: user level and application level. Your design should incorporate the following features:
Set quota limits for each user and application.
The system must scale to handle high request volumes to maintain performance.
Ensure the system can synchronize data globally for users across different regions.
Provide your design along with the implementation code and test cases.
Example
Input
5 100
user1
user2
1
user1
user1