Skip to main content

Command Palette

Search for a command to run...

☁️ Serverless Explained Like You're 5

Published
1 min read
S

Building AI systems and writing about how they actually work. Master of AI @ University of Technology Sydney. Previously B.Tech CS with focus on IoT. I believe the best way to learn is to explain. That's why I'm documenting tech concepts with simple analogies (@sreekarreddy.com). AWS Certified • Azure AI Certified • Neo4j Professional • Google Data Analytics When not coding: exploring Sydney, working on side projects, and teaching tech to anyone who'll listen.

A taxi instead of owning a car

Day 28 of 149

👉 Full deep-dive with code examples


The Car Analogy

Owning a Car (Traditional Server):

  • Pay for the car even when parked
  • Pay for gas even when not driving
  • Maintenance, insurance, parking...
  • Costs money 24/7!

Taking Taxis (Serverless):

  • Pay when you ride
  • No car sitting idle
  • No maintenance worries
  • Pay per trip!

How It Works

Traditional: Server runs 24/7, you pay 24/7

Serverless: Code runs on demand (when triggered)

User makes request →
  Your code wakes up →
    Runs →
      Goes back to sleep

You usually pay based on execution time and usage.


Famous Examples

  • AWS Lambda
  • Vercel Functions
  • Cloudflare Workers

When to Use

✅ Good for: Unpredictable traffic, APIs, webhooks ❌ Not great for: Long-running processes, real-time apps


In One Sentence

Serverless lets your code run on demand, charging you based on what you use.


🔗 Enjoying these? Follow for daily ELI5 explanations!

Making complex tech concepts simple, one day at a time.

More from this blog

esreekarreddy

132 posts

☁️ Serverless Explained Like You're 5