Elm is an exciting FRP language. I implemented the FRP part in Clojure using core.async.
Token Bucket is a simple algorithm for rate limiting a resource. It’s easy to understand because you can reason about it in terms of real-world objects. core.async makes this algorithm very clear and easy.