medium.com 8 min read Original Source

7 Core Infrastructure Concepts You Need to Master to Become a DevOps Engineer

Before you touch a CI/CD pipeline or spin up a Kubernetes cluster, there’s a foundation you need to have down first

Most people think the path to becoming a DevOps engineer starts with learning Docker, wrangling Kubernetes, or building the fanciest CI/CD pipeline they can. But before any of that, there’s something that gets skipped way too often: actually understanding why infrastructure is designed the way it is in the first place.

You can read the full story for free by clicking here

Picture yourself in a DevOps interview, and the interviewer asks, “Why do we need a load balancer if we already have multiple servers running?” or “What’s the actual difference between vertical and horizontal scaling, and when would you reach for each one?” If your answer boils down to “so it’s faster” or “so it doesn’t go down,” that’s a sign you’ve memorized the vocabulary without understanding the reasoning behind it.

A good DevOps engineer isn’t just someone who’s fluent in automation scripts. It’s someone who understands how traffic actually flows through a system, why systems buckle under sudden load, and what’s really happening behind the word “scalable” that shows up in half the job postings out there. Without that foundation, even the most powerful tools end up being memorized commands rather than skills you can actually reason with.

In this article, we’re going through 7 core infrastructure concepts that form the baseline for anyone serious about stepping into a DevOps role. Not textbook definitions — real explanations of why each concept exists, what problem it solves, and the trade-offs you’ll actually run into on the job.

Let’s get into it.

1. Scalability

Scalability is a system’s ability to handle growth without falling apart. Growth here can mean more users, more data, more requests, or a wider geographic footprint.

Here’s the part a lot of people miss: scalability isn’t a property of any single component — it’s a property of the entire system. You can scale your application servers up 10x, but if the database behind them doesn’t scale along with it, the bottleneck doesn’t disappear. It just moves.

Here’s a visual to make that clearer:

A few things worth keeping in mind about scalability:

  • A system is only as scalable as its weakest layer, not its strongest one
  • Scaling isn’t just “add more servers” — it’s a decision that needs to be baked into the architecture from day one
  • Every layer, from the load balancer down to the database, has to be able to grow together

If you want to see how AWS approaches this at the infrastructure level, the official reference is the Amazon EC2 Auto Scaling documentation.

2. Vertical vs. Horizontal Scaling

These are the two main strategies for achieving scalability, and they come from fundamentally different philosophies.

Vertical scaling means making a single machine more powerful — more CPU, more RAM, faster storage. The application doesn’t change, the architecture doesn’t change, you’re just upgrading the box it runs on. It’s simple, but it has a ceiling: physical machines max out eventually, and since there’s only one machine, it’s also a single point of failure. When it goes down, everything on it goes down too.

Horizontal scaling means adding more machines instead of making one machine bigger. There’s no real ceiling, and if one node fails, you lose a slice of capacity rather than the whole system. The catch is that horizontal scaling requires your servers to be stateless — meaning no server holds user-specific data between requests. If a server does hold state, every request from that user has to be routed back to the same server, which defeats the whole point of scaling horizontally in the first place.

In short:

  • Vertical scaling: fast to implement, but carries real downtime risk and gets expensive past a certain point
  • Horizontal scaling: more resilient with no hard ceiling, but requires a stateless design from the start
  • Most modern systems end up combining both, with horizontal scaling as the primary strategy

For a look at automated horizontal scaling in practice, check the AWS Auto Scaling groups documentation.

3. Load Balancer

Once you’ve got multiple servers running (thanks to horizontal scaling), a new question shows up: how do you actually split incoming requests across all of them? That’s the load balancer’s job.

A load balancer sits in front of a pool of servers and distributes incoming traffic across them. Every client request hits the load balancer first, which then forwards it to one of the servers behind it. From the outside, it looks like there’s just one server. Behind the scenes, there could be dozens sharing the load.

Here’s the part that’s easy to overlook: load balancers also run continuous health checks on every server behind them. If a server starts failing or stops responding, the load balancer automatically stops routing traffic to it until it recovers. That’s what makes a fleet of servers resilient to individual failures instead of one bad node taking the whole system down.

The key takeaways:

  • A load balancer makes a distributed system look like a single entity from the outside
  • Automated health checks are what make the system resilient — it’s not just about splitting traffic evenly
  • Different types of load balancers operate at different OSI layers (Layer 4 vs. Layer 7), depending on the use case

For a real-world implementation, the official AWS Elastic Load Balancing documentation breaks down the differences between Application, Network, and Gateway Load Balancers.

4. Latency

Latency is the time it takes from when a request is sent to when a response comes back. It’s the delay a single user actually feels. Low latency feels instant. High latency feels sluggish and, honestly, kind of infuriating.

Here’s the interesting part: latency isn’t one number — it’s a stack of smaller delays adding up. Network travel time, server processing time, and database query time all pile on top of each other. That means reducing latency isn’t about optimizing everything at once. It’s about figuring out which layer is dominating the delay, then attacking that specific bottleneck.

A few essentials to remember about latency:

  • It’s typically measured in milliseconds (ms)
  • Its sources range from network distance to server processing time to database query time
  • Low latency doesn’t automatically mean the system can handle a lot of concurrent users — that’s a throughput problem, which we’ll get to next

MDN Web Docs has a solid technical breakdown of this in their Understanding Latency guide.

5. Throughput

If latency is about “how fast a single request finishes,” throughput is about “how much work the system can get through in a given period of time” — usually measured in requests per second (RPS).

These two metrics get mixed up constantly, even though they measure completely different things. A system can be fast per-request but still have low total throughput if it can only process one request at a time. On the flip side, a system can be a bit slower per-request but achieve high throughput because it processes many requests in parallel. Optimizing one doesn’t automatically improve the other — each requires its own design strategy.

Worth noting:

  • Latency = the speed of a single request
  • Throughput = the system’s total capacity over a period of time
  • High-throughput systems usually lean on parallel processing rather than just “faster servers”

If you want to experiment with measuring API throughput directly, Grafana k6’s documentation — one of the more popular open-source load testing tools — has an official breakdown of how throughput is measured during load tests.

6. CDN (Content Delivery Network)

A CDN is a globally distributed network of servers that caches copies of static content and serves it to users from the nearest available location. Instead of every user fetching an image from a server on another continent, they pull it from a server sitting in their own city.

There are two main benefits here. First, it reduces latency for content that doesn’t change per user — things like images, videos, and scripts. Second, it takes a massive amount of load off the origin server, since most requests get intercepted and served by an edge node before they ever reach it.

The trade-off: cached content can go stale if the source changes and the cache hasn’t been invalidated yet. That’s why cache invalidation strategy is such a critical part of designing a CDN setup properly.

Key points on CDNs:

  • CDNs work best for static content, not data that changes per individual user
  • The main benefits are lower latency and reduced load on the origin server
  • Cache invalidation is the primary technical challenge in operating a CDN

For a deeper look at how this works in practice from one of the largest CDN providers, the Cloudflare Learning Center has a fairly comprehensive official explanation.

7. API Gateway

The last concept on our list: the API gateway. It’s a single entry point that sits in front of multiple backend services, handling cross-cutting concerns like authentication, rate limiting, SSL termination, and request routing — all in one place.

Without an API gateway, every service would need to implement authentication and rate limiting on its own. Imagine having 10 microservices — that’s 10 separate authentication implementations you’d need to keep consistent. With an API gateway, all of that gets centralized. Every service behind it gets those protections for free, without reimplementing them.

The trade-off: the API gateway becomes a critical piece of infrastructure that has to stay highly available and can’t become a bottleneck, since every request has to pass through it before reaching its destination service.

The main things to remember:

  • API gateways centralize authentication, rate limiting, and routing
  • Every backend service becomes simpler since it no longer needs to implement cross-cutting concerns on its own
  • Since it’s a single entry point, the API gateway has to be designed for high availability

The Amazon API Gateway documentation is a good reference if you want to see a concrete cloud-provider implementation of this pattern.

So Why Does Any of This Matter?

These seven concepts — scalability, vertical vs. horizontal scaling, load balancers, latency, throughput, CDN, and API gateways — aren’t isolated ideas. They’re deeply connected. Scalability is the overarching goal. Horizontal scaling and load balancers are how you get there. Latency and throughput are the metrics you use to measure whether your design is actually working. CDN and API gateway are the practical components that show up the moment your system starts dealing with real user volume and multiple services.

None of these concepts stand alone. Understanding why each one exists, what problem it solves, and what trade-off it brings to the table is what turns a list of buzzwords into a real, usable design skill.

If you’re on the path to becoming a DevOps engineer, there’s no need to cram all of this at once. Go through them one at a time, and connect them to systems you already use every day — like why Netflix streams smoothly even if you’re nowhere near a major city (hello, CDN), or why an e-commerce app doesn’t collapse during a flash sale (hello, load balancers and horizontal scaling). Once this foundation actually sticks, learning tools like Kubernetes, Terraform, or building out a CI/CD pipeline will make a lot more sense — because you’ll already know exactly what problems they’re solving.

Hopefully this gives you a lot more confidence the next time these terms come up in a meeting, an interview, or while you’re designing your own infrastructure.