# Architecture

## CDNs - cached assets, shorter travel time

**Content Delivery Networks** can deliver a significant performance boost by serving assets from nodes physically near users. This is particularly beneficial for services that have users that are spread out geographically.

There can be challenges, particularly for highly dynamic/personalized websites. However all modern content delivery networks support ‘*edge computing*’ which enables a degree of dynamism while still retaining the big performance advantages.

## HTTP/2

**HTTP2** is a much more efficient way of transmitting data between servers and users, including parallel transmission of data, header compression, and binary transmission. It will make your website faster for users, and reduce the bandwidth required - better for the planet.

## Serverless (Azure Functions / Amazon Web Services (AWS) Lambdas / Edge Functions)

**Serverless functions** are great as they abstract away the underlying infrastructure from you and let you focus on the code itself. They’re designed to be short-lived and scalable. And they’re a good fit for things like API endpoints, processing tasks, and that kind of thing. It’s another example of technology where you don’t have to be worrying about maintaining servers/VMs.

The cloud provider can worry about balancing the load behind the scenes - and they’re probably better at that than you are.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.umbraco.com/sustainability-best-practices/infrastructure/architecture.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
