Ben Armstrong

Results 7 comments of Ben Armstrong

Yeah I would really prefer the change didn't happen. I am using this API for a language flashcard app and this is super useful for dictionary definitions in a large...

Durable objects is definitely better as it is consistent kv is eventually consistent so not idea for rate limiting, especially with short windows.

Max out at 100 requests a second per object but for a rate limiter you should be instantiating 1 object per ip/user and only really limit endpoints that could be...

Thanks so much for the above code! Would love to get inbuilt support for this in the future!

@SoTosorrow Did you manage to get Chinese working? If so could you provide an example?

This is also needed for cloudflare workers,

There are still some todos and it isn't 100% complete yet but it is largely all there. I am also currently using Zod and will eventually move to use the...