Global and High-Traffic Hosting Architecture

Global and High-Traffic Hosting Architecture

A single region can stay correct well after users go global. CDN-first delivery first, multi-region only on a named requirement, and cross-region data as the hard part.

A single-region origin can remain the correct architecture well after a property has users in many countries. When a web property does genuinely need to go global, the first and cheapest step is CDN-first delivery — cached content close to users, with the origin unmoved. Edge compute and multi-region origins come later — edge compute for light, latency-sensitive logic, and multi-region origins only for a named requirement one region cannot meet — resilience, residency, or latency on uncacheable dynamic responses that edge delivery cannot fix — never for traffic volume alone. The hardest part of going global is not delivery; it is keeping stateful data consistent across regions. This article walks that progression for a CTO scoping a global build.

When a single region genuinely stops being enough

The phrase "global architecture" carries a pull toward complexity. A property that reaches users worldwide feels as though it should be hosted worldwide — origins in many regions, data everywhere, a map with pins on it. That instinct can be premature.

A single-region origin can remain correct well after a property has users in many countries. A site whose origin sits in one region can serve users across the world perfectly well, because — as the next section explains — much of the content users request does not have to come from the origin at all. The origin's job is narrow, and a narrow job done in one place is not a weakness.

There are real triggers for moving beyond one region, and naming them precisely matters, because they are easy to confuse with simply having international visitors.

The first is global latency that delivery alone cannot fix — when genuinely dynamic, per-user responses are slow for distant users, and caching cannot help because the responses are not cacheable. The second is regional resilience — a requirement that the property survive the loss of an entire region, which a single-region origin by definition cannot. The third is a residency requirement — a rule that certain data must be stored or processed within a particular jurisdiction, which can compel a regional presence regardless of latency or traffic.

What is not on that list is "we have users in many countries" or "traffic is growing." Those are reasons to deliver content well, not reasons to multiply origins. Moving beyond one region should follow a named requirement, not an ambition to look global. This article is about architecture and availability; the separate question of sizing a host to its traffic volume has its own treatment, and the two should not be conflated — traffic growth is a sizing problem, not automatically a multi-region one.

CDN-first delivery as the default global layer

For many properties, the entire answer to "how do we serve users worldwide" is a content delivery network, and it does not involve moving the origin at all.

A CDN — described plainly by MDN — is a geographically distributed set of caching servers. It holds copies of a site's content at locations close to users and answers requests from the nearest one. The origin stays exactly where it is, in its single region. What changes is that requests for cached content no longer reach the origin; they are answered at the edge, near the user, by a cache.

This solves the global-latency problem for everything that can be cached — and on many sites, that covers much of what users request. Pages, images, scripts, styles, downloadable assets: all of it can sit in edge caches worldwide while the origin sits in one place. A user on another continent gets a fast response not because the origin moved closer, but because a copy of the content already had.

The reason to reach for this first is that it is the cheapest and lowest-risk global step available. It adds no new origin to operate and no new region to secure, though it is not free of risk: among the downsides of using a CDN compared to self-hosting static assets, MDN lists an additional dependency on a third-party service — if the CDN goes down, is blocked in a region, or is permanently shut down, the website will malfunction. It is a delivery layer placed in front of an architecture that otherwise does not change. Before any conversation about multi-region origins begins, CDN-first delivery should be in place and its limits understood — because for many properties, those limits are not reached. It is the global step to exhaust before considering any other. (The performance tuning of that delivery layer — cache headers, asset optimization, the page-speed view of a CDN — is a topic of its own; here the CDN is treated as the global-architecture and availability decision it also is.)

Edge rendering and compute at the edge

Before anything about the origin changes, there is a second layer that has matured into a genuine architectural option, sitting between the static edge cache and the origin: compute at the edge.

Edge compute runs code at the CDN's edge locations — close to users, in the same distributed network that already serves the cache. It is not the static cache, because it can execute code rather than only return a stored file. It is not the origin, because it is distributed worldwide and runs within limits — on execution time, memory, and what the code can access — that vary by platform and plan.

What it suits is light, latency-sensitive logic: routing a request, rewriting a response, evaluating a simple personalization rule, making a fast decision close to the user. What it does not suit is heavy stateful processing — long computations, large database transactions, anything that needs to be near the data rather than near the user. The edge is fast and everywhere, and those limits mean heavy, stateful work is better placed near the data.

The correct mental model is that the edge is a delivery and personalization layer, not a replacement for the origin. It extends what the delivery network can do — adding a little intelligence to a layer that was previously only a cache — without becoming the place the application actually lives. A team that treats edge compute as a distributed origin will find the model fights back; a team that treats it as a smart delivery layer will get the latency benefit without the disappointment.

Multi-region architecture and what it costs

When delivery at the edge — cached content plus light edge logic — genuinely is not enough, because the triggers named earlier are present, the last step is running the origin itself in more than one region. It is a real and sometimes necessary architecture. It is also expensive in ways that are easy to underestimate.

A multi-region origin places running infrastructure in two or more regions. The gains are concrete: resilience, because the property can survive the loss of a whole region; lower latency for the dynamic, uncacheable responses that a CDN could not help; and, where required, a presence in a jurisdiction a residency rule demands.

The costs are equally concrete, and there are three of them. There is direct cost — running infrastructure in N regions is closer to N times the spend than to a rounding error. There is operational complexity — every region is a deployment to ship to, monitor, patch, and reason about, and they must be kept consistent with one another. And there is a multiplied set of failure modes — regions can disagree, fail over incorrectly, or split, and each new region adds new ways for the system to be wrong.

AWS's own reliability guidance, REL10-BP01 Deploy the workload to multiple locations, frames the resilience side of the decision in similar terms. It asks teams to determine whether resilience needs can be met by multiple Availability Zones within a single region or require a multi-Region approach (if multiple Regions are permitted), notes that multiple regions can achieve greater availability but can involve additional complexity and cost, and lists a multi-region architecture built where a multi-Availability Zone one would satisfy business requirements as a common anti-pattern. In that guidance, data residency appears as a constraint on which Regions can be used, not as a reason to go multi-Region. In this article's framing, multi-region is an architecture commitment, justified by a named requirement one region cannot meet — resilience, residency, or latency on uncacheable dynamic responses — not by traffic volume alone. A property with a great deal of traffic and no such requirement does not need multiple origins; it needs a well-sized single origin behind a good CDN. Traffic is not the trigger. The trigger is a requirement that one region structurally cannot satisfy.

Read together, the three layers form an ordered progression — and the order is the discipline.

Global layerWhat it doesWhen it is justified
CDN-first deliveryCaches content close to users; the origin is unmovedThe default global step — for many properties, the whole answer
Edge computeRuns light logic close to users, between cache and originLight, latency-sensitive logic — routing, rewrites, simple personalization rules
Multi-region originRuns the origin itself in two or more regionsA named resilience, residency, or uncacheable-latency requirement one region structurally cannot meet

The progression runs top to bottom, and each step down adds cost and failure modes. A global architecture is built by going only as far down the table as a named requirement actually demands — and stopping there.

Data consistency across regions — the hard part

Everything to this point has been comparatively easy. The genuinely hard problem in global architecture, the one that makes it expensive and slow to get right, is stateful data across regions.

Replicating stateless delivery is straightforward. A cached page is the same page everywhere; a copy in another region is simply a copy, and nothing is lost by having many. This is why CDN-first delivery is cheap and low-risk — it replicates things that do not change.

Replicating stateful data is a different category of problem. A database holds data that changes, and when it is written in one region and read in another, the system has to answer a question with no free answer: does the read see the latest write, and how long does it wait to be sure? The well-known trade-offs in distributed systems mean that consistency, latency, and resilience pull against one another. The Google SRE Book's chapter on managing critical state states two of them plainly: the CAP theorem holds that a distributed system cannot simultaneously have consistent views of the data at each node, availability of the data at each node, and tolerance to network partitions; and, in general, as replicas sit farther apart, the round-trip time between them grows — as does the size of failure the system can tolerate — and for most consensus systems that longer round-trip time also increases the latency of operations. A team can have data that is always immediately consistent, or data that is always fast to read, or data that survives a region failing — but not all three, all the time, for free. Every multi-region data design is a choice about which of those to favor and where.

The practical conclusion for a CTO scoping a global build is this: the data layer, not the frontend, is what makes global architecture expensive and hard. Serving pages worldwide is a solved problem with a cheap answer. Keeping data correct worldwide is an open design problem with real costs and no universal answer. A global-architecture plan that spends its attention on delivery and treats the data layer as a detail has spent its attention on the easy half.

Decision criteria for global hosting architecture

For a leadership review, three criteria keep a global-architecture decision disciplined.

First, exhaust CDN-first delivery before considering a multi-region origin. The delivery network is the cheapest, lowest-risk global step, and for many properties it is the whole answer. A multi-region conversation that begins before the CDN's limits have actually been reached is a conversation begun too early.

Second, justify multi-region by a named resilience, residency, or latency requirement, not by traffic volume alone. The trigger for multiple origins is a requirement one region structurally cannot meet — surviving a regional failure, satisfying a jurisdictional rule, or serving uncacheable dynamic responses fast enough to distant users. Traffic growth is a sizing question, and it has its own answer that is not "add a region."

Third, treat the data-consistency model as the central, hardest decision in going global. Once data is multi-region, consistency, latency, and resilience trade against each other, and the design has to choose deliberately among them. That choice — not the delivery layer — is where a global build is won or lost, and it deserves the most scoping attention, not the least.

Project Inquiry