Let's say you are exposing a bunch of public RESTful APIs. And if you want to limit the number of requests to be served over a period of time, in order to save resources and protect it from abuse. Say for example you want to allow only 60 calls to be made in a 1-minute window. To be able to do this, there are many algos, we will discuss each of those in depth.