Loop Code Recur
  • Home
Sign in Subscribe

Redis

A collection of 1 post
Clojure

Exploring rate limiting techniques in Clojure and Redis Lua

In this post I show how to implement a concurrent-safe and performant rate limiter in both Clojure and Redis using the token bucket algorithm. An instinctive approach first Let’s imagine you want to prevent excessive use of your API, either globally or per client: you could count the incoming
Feb 7, 2022 6 min read
Page 1 of 1
Loop Code Recur © 2023
Powered by Ghost