Home

Awesome

Demos for Cloudflare Workers

Assorted demos for doing things with Cloudflare Workers.

Examples are:

What are edge functions/workers?

Workers let you do edge logic which means:

On Cloudflare, these serverless edge functions are also extremely fast (according to them, up to 50x faster). Having worked quite a bit with serverless across the big three providers, I can attest that Cloudflare Workers are the fastest you will get if you need serverless compute.

Use cases

I can imagine a LOT of use cases, but for my part I'm seeing these in particular:

Limitations

There's a few limitations as well:

How to use the code

You will have to have a Cloudflare account (free) and you can get the regular Workers plan for free as well. You receive a free {DOMAIN}.workers.dev domain where the functions will be hosted.

You could use Serverless Framework to deploy code, but the absolutely easiest way is just to log in to Cloudflare and use the panels. Note that Safari is not fully supported, but Chrome works just fine, if you intend to use the inline coding and preview functionality.

For actually getting started, it's all really easy, and covered well in the docs.

Similar products

References