The [example in the docs here](https://developers.cloudflare.com/durable-objects/examples/build-a-rate-limiter/) seems like a way better approach to rate limiting and we could add a layer of logging to track stats.