Loading

فارسی

Accent color

Background

Skip to article
Engineering

Edge architecture: why Cloudflare Workers are the future of the back end

Traditional serverless compared with edge runtimes, plus a migration guide for real projects.

Sara KazemiFull-stack Engineer
1 min read

This article is also available in other languagesفارسی

A Lambda cold start of several hundred milliseconds is unbearable for users on the other side of the world. Edge runtimes rewrite that equation.

What changed

Your code runs close to the user, not in a distant region. Latency drops from 300 milliseconds to under 50 without any work on your part.

The limits

It is not all rainbows. Limited Node APIs, limited memory and a different pricing model. Every project needs to do the maths.

Likes and saves are currently kept in this browser only.

CommentsComing soon

We'd love to hear from you. Comments will be enabled soon.

Posting comments is not enabled yet.

The Mohtawa newsletterComing soon

Every two weeks, our best articles and lessons in your inbox.

Newsletter sign-up will be available soon.

Back to the blog