Loop Code Recur
  • Home
Sign in Subscribe

Cyprien Pannier

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
Serverless site analytics with Clojure nbb and AWS
Clojure

Serverless site analytics with Clojure nbb and AWS

Since I started this blog, I miss some simple analytics. I don't want a cookie banner and I don't want to pay if possible, so I took some time to build a homemade solution, it was actually a good opportunity to try out the new @borkdude [https://twitter.com/borkdude]
Feb 1, 2022 5 min read
Clojure

Writing Clojure living-cookbooks

I've been thinking about documentation recently: as our company backend repository grows, there are patterns and usage emerging, and lot of things to document to ease the new developers onboarding, the sharing of knowledge and the standardization of practices. There are some existing approaches to answer this problem: * docstrings in
Jan 23, 2022 3 min read
Page 1 of 1
Loop Code Recur © 2023
Powered by Ghost