2

Implement a rate limiter

 2 years ago
source link: https://www.techinterview.org/post/3233459770/implement-a-rate-limiter/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Tech Interview

A site for technical interview questions, brain teasers, puzzles, quizzles (whatever the heck those are) and other things that make you think!

    • 13 Dec 2017

      Implement a rate limiter

      Posted at 4:23 pm by Admin, on December 13, 2017

      shouldAllowRequest() that returns true if the incoming requests have arrived at a rate less than or equal to specified rate, false otherwise.
      1. What if you don’t have to worry about bursts?
      2. What if you want to handle burst?

Proudly powered by WordPress.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK