Hard

Implementing Message Rate Limiting in Real-Time Chat: Maximum 3 Messages per 5 Seconds

In a real-time chat application, you need to implement rate limiting for message sending. What will be the maximum number of messages a user can send in any 5-second window using this implementation?

Choose an option below