Skip to content



  1. A fast, powerful type checker designed for Ruby

    Ruby 2.5k 247

  2. A virtual machine for executing programs written in Hack.

    C++ 16.8k 2.9k

  3. A central repository for sharing type definitions for Ruby gems

    Ruby 294 71

  4. The online Sorbet playground

    4 3

  5. A simple in-memory cache for nodejs

    JavaScript 1.3k 158

  6. 1
    # Scaling your API with rate limiters
    The following are examples of the four types rate limiters discussed in the [accompanying blog post]( 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.
    In most cases you'll want all these examples to be classes, but I've used simple functions here to keep the code samples brief.

1,449 contributions in the last year

Dec Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Mon Wed Fri

Contribution activity

November 2020

131 contributions in private repositories Nov 4 – Nov 24

Seeing something unexpected? Take a look at the GitHub profile guide.

You can’t perform that action at this time.