Inderjot Singh · notebook

Workshop · project no. 2 of 6

Cloudlab

Small experiments on Cloudflare, plus this site

The problem

It holds an email sender, a few sandboxes and this homepage.

Built with

  • Cloudflare Workers
  • D1
  • Durable Objects
  • Workflows
  • Email Sending

How it works

  1. RequestA request arrives at a Worker running close to the visitor.
  2. VerifyThe Worker checks a signature before doing anything.
  3. StoreState goes to a database or a durable object at the edge.
  4. ActThe Worker sends an email or runs a multi-step workflow.
  5. ReplyA small response goes back with the result.

Try it

sampleInvented example, not real data

The demo needs JavaScript.