3 ms·
Cloudflare workers seems amazing and I would love to migrate few thousands of nodejs lambda I have to cf workers... But... I noticed the 1mb limit for the func
by js4ever 8y ago
Cloudflare workers seems amazing and I would love to migrate few thousands of nodejs lambda I have to cf workers... But...
I noticed the 1mb limit for the function size, most of my functions are between 1.5mb and 8mb depending on the npm packages required.
Also execution time for my functions is between 200ms and 30sec. (Loading remote data, transform it, generate pdf,...) and workers are limited to 5-50ms!
- js4ever 8y agoI don't understand why I got a downvote... I'm really excited about cloudflare workers and hope they will overcome the actual limitations to make them usable for more use cases (including mine, this is why I have provided my metrics as a hint to cloudflare team)
- zackbloom 8y agoThe time limits for Workers are actual CPU time, not clock time.
- remyg 8y agoCloudflare Workers execution time is counted a little differently. When you call fetch() in a Worker and are waiting for remote data, Cloudflare doesn’t count that waiting towards the “execution time” limit. Other providers do. Note: I work at Cloudflare