Skip to content

FaaS

Function as a Service

Medium — good to knowCloud & Infra

ELI5 — The Vibe Check

FaaS is when you write a tiny function and deploy it to the cloud, and it only runs (and charges you) when someone calls it. No server sitting idle burning money. It's like a vending machine — nobody pays for electricity when nobody's buying. AWS Lambda is the most famous FaaS.

Real Talk

Function as a Service is an event-driven cloud execution model where developers deploy individual functions that run in stateless containers. The provider auto-scales, manages infrastructure, and charges only for execution time and invocations. Examples: AWS Lambda, GCP Cloud Functions, Azure Functions, Cloudflare Workers.

Show Me The Code

// AWS Lambda handler
export const handler = async (event) => {
  const name = event.queryStringParameters?.name ?? 'World';
  return {
    statusCode: 200,
    body: JSON.stringify({ message: `Hello, ${name}!` })
  };
};

When You'll Hear This

"We use FaaS for the image resizing — it only runs when someone uploads." / "FaaS has cold start latency if the function hasn't been called recently."

Made with passive-aggressive love by manoga.digital. Powered by Claude.