So you want to build a rate limiter? The obvious choice is to use Redis. It's sorted sets make short work of the logic required. But, what if you wanted something a little different? Something more flexibly? Something a little counter-culture? This is a quick introduction and overview of one such exploration. Rather than use a customary Redis counter based system, we built a rate limiter using SQL queries backed by ClickHouse.
To download the slides with presenter notes, click here.