Pinned Loading
-
-
facebook/hhvm
facebook/hhvm PublicA virtual machine for executing programs written in Hack.
-
-
-
0-rate-limiters.md
0-rate-limiters.md 1# Scaling your API with rate limiters
23The following are examples of the four types rate limiters discussed in the [accompanying blog post](https://stripe.com/blog/rate-limiters). In the examples below I've used pseudocode-like Ruby, so if you're unfamiliar with Ruby you should be able to easily translate this approach to other languages. Complete examples in Ruby are also provided later in this gist.
45In most cases you'll want all these examples to be classes, but I've used simple functions here to keep the code samples brief.
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.