DEV Community

Cover image for System Design Terms That Sound Scarier Than They Are 😭
Shruti Shahi for Brain Buffering

Posted on AI-assisted

System Design Terms That Sound Scarier Than They Are 😭

Ever heard someone casually say, "We need to introduce caching and horizontal scaling"?

And you're just sitting there like...

BRO, I WAS JUST TRYING TO BUILD A WEBSITE.

System design has a talent for making perfectly normal ideas sound like they require a PhD and three infrastructure teams.

So let's decode a few terms without making this a 3-hour lecture.

1. Caching β€” Stop doing the same work again and again.

Imagine you order the same coffee every morning.

Would you ask the barista to look up the recipe from scratch every single time?

Hopefully not.

That's basically caching.

You store frequently needed data somewhere it can be accessed quickly instead of fetching or calculating it repeatedly.

A tiny JavaScript example:

const cache = new Map();

function getUser(id) {
    if (cache.has(id)) {
        console.log("From cache!");
        return cache.get(id);
    }

    // Imagine this is an expensive database call
    const user = { id, name: "Shruti" };

    cache.set(id, user);
    return user;
}

getUser(1); // Fetches and stores
getUser(1); // Uses cached result
Enter fullscreen mode Exit fullscreen mode

Congratulations. You just saved yourself an unnecessary trip.

In real applications, caching needs expiration, invalidation, and sometimes distributed storage. But that's another headache.

2. Load Balancing β€” Don't dump all the work on one server.

Imagine 1,000 people entering a restaurant.

There's one waiter.

That poor soul is about to resign.

Now imagine five waiters distributing the orders.

That's load balancing.

A load balancer distributes incoming requests across multiple servers so one server doesn't become the main character for all the wrong reasons.

3. Rate Limiting β€” Bestie, slow down.

Imagine someone refreshing your login endpoint 10,000 times in a minute.

At some point, the server needs to say:

"Okay, that's enough."

Rate limiting controls how many requests a user or client can make within a specific time window.

A tiny Express example:

const rateLimit = require("express-rate-limit");

const limiter = rateLimit({
    windowMs: 60 * 1000, // 1 minute
    max: 10              // 10 requests per window
});

app.use("/api", limiter);
Enter fullscreen mode Exit fullscreen mode

Now your API has boundaries.

Honestly, we could all use some rate limiting.


And that's three system design terms you can now casually throw into a conversation without immediately opening 17 browser tabs.

Your turn: Which system design term sounded unnecessarily complicated when you first heard it?

Let's make engineering sound less like black magic.


Brain Buffering 🧠 β€” Come curious, leave slightly less confused.

Top comments (7)

Collapse
 
hemapriya_kanagala profile image
Hemapriya Kanagala •

Idempotency πŸ˜€ This is another one that sounds complicated at first, but the concept is pretty simple. It's about making sure that performing the same operation multiple times has the same effect as doing it once. For example, clicking the payment button twice shouldn't charge you twice.

Collapse
 
mestonecold profile image
Shruti Shahi Brain Buffering •

Exactly, thank you hema! πŸ–€βœ¨

Collapse
 
nyaomaru profile image
nyaomaru Brain Buffering •

Partitioning and sharding for me! 😹

I still don't fully understand when to use which or how to design them properly in practice.

Maybe that's a topic for your next article! πŸ‘€πŸ’š

Collapse
 
mestonecold profile image
Shruti Shahi Brain Buffering •

Alrighty i was asked that in my first interview btw 😭😹

Collapse
 
nyaomaru profile image
nyaomaru Brain Buffering •

Oh nooo! 😹
Understanding the concepts is one thing, but understanding the trade-offs and knowing when to actually apply them is the really difficult part! 😿😿

Collapse
 
csm18 profile image
csm •

The server analogy really clicked.
And the rate limiting, I always heard about it but never tried to know it.
Now, its clear!

Collapse
 
mestonecold profile image
Shruti Shahi Brain Buffering •

Ahaa we gotchu broπŸ’ͺ🏻✨