Cloudflare Workers© (original) (raw)

You write code.

We handle the rest.

Deploy serverless code instantly across the globe to give it exceptional performance, reliability, and scale.

~/ $ npm create cloudflare -- my-app
~/ $ cd my-app
~/my-app $ npx wrangler deploy
Published https://my-app.world.workers.dev

Laurie Voss

Co-founder & Chief Data Officer

NPMLogo for the company NPM

“Cloudflare Workers has changed the way we build our apps. We don’t have to think about regions, we just deploy code and it runs seamlessly around the world.”

Great power.

Less responsibility.

Scaling illustration

Automatic scaling

No more configuring auto-scaling, load balancers, or paying for capacity you don’t use. Traffic is automatically routed and load balanced across thousands of servers. Sleep well as your code scales effortlessly.

Global network illustration

Global network illustration

High performance global network

Every deploy is made to a network of data centers running V8 isolates. Your code is powered by Cloudflare’s network which is milliseconds away from virtually every Internet user.

Templates illustration

Templates illustration

Write in JS, Rust, C, and C++

Choose from a template in your language to kickstart building an app, creating a function, or writing an API. We have

templates,

tutorials, and a

CLI

to get you up and running in no time.

Short cold starts illustration

Short cold starts illustration

Support for 0ms cold starts

Most serverless platforms experience a cold start every time you deploy or your service increases in popularity. Workers can run your code instantly, without cold starts.

Low-cost illustration

Low-cost illustration

Exceptionally affordable

The first 100,000 requests each day are free and paid plans start at just $5/10 million requests, making Workers as much as ten-times less expensive than other serverless platforms.

For a 50ms Worker compute workload including API Gateway & other required services

Serverless illustration

No servers to maintain

Spend more time building, less time configuring. No VMs, no servers, and no containers to spin up or manage. Deploy using our CLI, web interface, or API.

Workers Unbound illustration

Workers Unbound illustration

Edge storage, built in

Store your static assets at the edge with Workers KV, our global, low-latency key-value data store. Access your assets alongside your code and transform them via powerful APIs (e.g. HTMLrewriter) to modify your page before it reaches the user.

Static to dynamic illustration

Static to dynamic illustration

Static assets with dynamic power

Say goodbye to build steps which pre-generate thousands of assets in advance. Harness the unrivaled raw power of the edge to generate images, SVGs, PDFs, whatever you need,

on the fly, and deliver them to users as quickly as a static asset.

Build your first Worker now.

Building with Workers