News for hackers. Stuff that matters.
Re:Constellation, bringing AI to the Cloudflare stack by kentonv on Saturday May 20, 2023 @11:09AM (#36012547)
> Its impossible to resize images or hash passwords on Cloudflare workers: the CPU time limit is too low.

You're thinking of years ago when the CPU time limit was 50ms. These days the limit is 30 seconds, plenty of time for these tasks.

Re:Constellation, bringing AI to the Cloudflare stack by SpaghettiX on Sunday May 21, 2023 @03:18AM (#36018679)
Thanks for your reply.

I hit the CPU time limit a few months ago. I was paying for unbound and my account default was on. I guess I also hit the memory limit (128MB).

Perhaps we should reply on: https://community.cloudflare.com/t/long-running-webcrypto-ap... and https://community.cloudflare.com/t/options-for-password-hash.... Though I'm not sure if it will work, certain algorithms might take more than 128MB.

Re:Constellation, bringing AI to the Cloudflare stack by SpaghettiX on Sunday May 21, 2023 @03:21AM (#36018687)
Whilst you're here, when can we expect D1 to be distributed instead of a single instance, and when will D1's API to be stabilised?

Thanks :)

Edit: I just found https://blog.cloudflare.com/d1-turning-it-up-to-11/ so I'll read that first