I tried Cloudflare Workers and found these pain points:
- local dev server (“wrangler dev”) crashes often
- local dev server executes code always on Cloudflare -> seeing changes takes a few seconds, you need an Internet connection
- forces Webpack on you
- managing KV store is difficult (How to back up? How to update schema of millions of entries?)
- KV store is slow (400 ms in Europe) unless keys are being hit every couple of seconds to keep the edge cache warm
Currently I’m trying an alternative – Deno Deploy – and love it so far. Local dev server executes your code locally, quick compile times, native TypeScript support due to Deno runtime.
- local dev server (“wrangler dev”) crashes often
- local dev server executes code always on Cloudflare -> seeing changes takes a few seconds, you need an Internet connection
- forces Webpack on you
- managing KV store is difficult (How to back up? How to update schema of millions of entries?)
- KV store is slow (400 ms in Europe) unless keys are being hit every couple of seconds to keep the edge cache warm
Currently I’m trying an alternative – Deno Deploy – and love it so far. Local dev server executes your code locally, quick compile times, native TypeScript support due to Deno runtime.
https://deno.com/deploy