Friday 8 November 2019

Paytm : Throttling on java method


Problem: Throw Exception when you method hit goes above a certain limit.

Approach: Try to implement the leaky bucket algorithm Here.

Solution: