👑 Premium Sign in Sign up

CSE43 · Cloud foundations

Serverless Order Flow

An order event triggers functions for payment check, stock and email. Watch the events flow and fail one step.

📶 L200⏱ 30 min🧪 Live lab

🎯 You will learn to

  • Publish and consume events
  • Keep functions small
  • Handle a failed step

🧪 Live environment

Runs entirely in your browser: nothing is installed, no real cloud account is used and your code is never sent to our server.

Loading the lab…

✅ Steps & checkpoints

🗺️ Event-driven order

An order event fans out to independent functions; each can fail and retry without blocking the others.

Event-driven orderAn order event fans out to independent functions; each can fail and retry without blocking the others.CustomerPOST /ordersEvent busOrderPlacedPaymentcheckStockreserveEmailreceiptOrderseventPerson / clientAPI / gatewayQueue / eventsComputeData store

The 2D diagram shows the exact flow, ports and trust boundaries. The 3D scene is a concept view of the same parts; packets travel along the same arrows.

🤔 Think about it

Why should each function do only one job?

🛡️ Safety & cost

Mock cloud: no account, no resources, no cost.

🧹 Cleanup

Mock resources disappear when you leave the page.

📚 Reference documents

Official sources, checked on 5 Nov 2026. Cloud services change often; check the official page before relying on a feature. All references