Was just looking, and I think that the implementation of rate limiting as is, will not work. The cheapest alternative is Durable Objects (if no DDoS) or Cloudflare native offering that only charges for passed requests. I haven’t looked at anything else yet, but will try later 🐶🐾🫡
Also, don’t forget that workers do not survive beyond single request and their Date.now() is frozen when they execute