Hey everyone — I’ve been building on edge platforms for the past 18 months and I think we’re witnessing a genuine paradigm shift. Not the kind VCs hype on Twitter, but the kind where you actually ship differently. Let me walk through what I’m seeing.
Serverless 1.0: The AWS Lambda Era
Remember when “serverless” meant AWS Lambda functions with 15-minute execution limits, cold starts that made your users stare at spinners, and zero persistent state? Serverless 1.0 was great for one thing: simple API endpoints that transformed some JSON and returned a response. The moment you needed a WebSocket, a database connection, or any kind of stateful workflow, you were back to managing EC2 instances. The promise was “no servers,” but the reality was “no servers until you need to do anything interesting.”
Serverless 2.0: Edge-First with Durable State
Fast forward to 2025-2026, and the landscape has fundamentally changed. We now have edge-first platforms with sub-5ms cold starts, built-in KV stores, SQL databases, and persistent objects running at the edge. This isn’t an incremental improvement — it’s a different category.
Cloudflare Workers has evolved into a full backend platform. Durable Objects give you persistent state tied to a single instance — think of them as lightweight actors that can hold state, process messages, and manage WebSocket connections. Pair that with D1 (SQLite at the edge), R2 (S3-compatible object storage), and Queues, and you have a globally distributed backend without ever provisioning a server.
Deno Deploy takes a TypeScript-native approach. The full Deno runtime runs at the edge, with a built-in KV store for persistent data and BroadcastChannel for real-time pub/sub. If you’re already writing TypeScript, the developer experience is outstanding.
Vercel has assembled a compelling full-stack story: Edge Functions combined with Vercel KV, Vercel Postgres, and Blob storage. If you’re in the Next.js ecosystem, the integration is seamless — your API routes, your database, your storage, all managed.
My Project: Real-Time Collaboration on Cloudflare
I built a real-time document collaboration tool entirely on Cloudflare Workers + Durable Objects. No traditional server. No database to manage. Each document is a Durable Object that holds persistent state and manages WebSocket connections for all active collaborators.
The architecture is elegant: when a user opens a document, they connect to the Durable Object for that document. The object maintains the current state, handles operational transforms for conflict resolution, and broadcasts changes to all connected clients. When no one is connected, the object hibernates and persists its state to disk automatically.
Cost: $12/month for 10,000 MAU. That’s not a typo. Compare that to running even a small ECS cluster with a managed database.
Where Edge Platforms Shine
- Globally distributed apps where latency matters — your API is 50ms from every user on earth
- Real-time features — WebSockets and server-sent events with built-in state management
- API backends for mobile/web apps — particularly read-heavy workloads
- Small-to-medium scale applications — the cost efficiency at this scale is unbeatable
Where They Still Fall Short
- Complex transactions — no distributed ACID transactions across Durable Objects
- Heavy computation — Cloudflare’s 15ms CPU time limit per request means no image processing or ML inference
- Large data processing — you’re not running ETL pipelines on edge functions
- Complex relational queries — D1 is SQLite; if you need joins across millions of rows with complex aggregations, you need a real database
The Vendor Lock-In Elephant in the Room
Let’s be honest about this: Durable Objects are entirely Cloudflare-specific. D1 uses SQLite syntax but with proprietary replication. Deno KV has its own API. If you build deeply on any of these platforms, you’re locked in harder than you would be with AWS. At least with AWS, there are well-established migration paths. With Cloudflare Durable Objects? There is no equivalent anywhere else.
My Honest Take
For about 60% of web applications — content sites, API backends, mobile APIs, real-time features, CRUD applications — edge platforms are genuinely the better choice over EC2/ECS/Kubernetes. The operational simplicity, global distribution, and cost efficiency are compelling.
For the other 40% — complex backend systems, heavy data processing, applications with intricate transactional requirements — you still need traditional infrastructure. And that’s fine.
Question for the community: Is anyone else running production workloads on edge platforms? I’d love to hear about your experience — what’s working, what’s painful, and what you’d do differently.