Serverless Edge Worker Pitfalls

Use when writing or reviewing code that runs as a serverless or edge function (Cloudflare Workers first, the same traps on Lambda-style platforms): runtime configuration and bindings, state shared between requests, promises that outlive the response, memory and CPU limits, queues and at-least-once delivery, service-to-service calls, database connections and durable state.

techmefr Updated

File contents

techmefr/mentis commit 340463769c

Frequently asked questions

npx get-skill add techmefr/serverless-edge-worker-pitfalls