> ## Documentation Index
> Fetch the complete documentation index at: https://docs.breakscale.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# CDN and origin

> How much traffic never reaches you

The CDN answers most requests at the edge, so only a trickle reaches the origin. Drop the hit rate and watch the origin melt.

## What to watch

The origin only ever sees what the cache misses. It handles 120 a second, and the cache is currently hiding 90 percent of the traffic from it. Drag the hit rate down and the origin gets a load nobody ever sized it for.

## What it is made of

| Component | Count |
| --------- | ----: |
| CDN       |     1 |
| Client    |     1 |
| Database  |     1 |
| Service   |     1 |

## Under load

Measured by running this design through the simulator at multiples of its own offered rate of 400 requests a second. Twenty seconds of simulated time, one fixed seed, so the same numbers come out every time.

<Note>This design holds 1200 requests a second with 0% errors. At 1600 it is losing 2% of them.</Note>

| Offered | Goodput |     p99 | Errors |
| ------: | ------: | ------: | -----: |
|     400 |     392 |  58.2ms |     0% |
|     600 |     606 |  68.1ms |     0% |
|     800 |     833 |  78.5ms |     0% |
|    1000 |     959 |  87.6ms |     0% |
|    1200 |    1232 | 415.6ms |     0% |
|    1600 |    1610 | 609.6ms |     2% |
|    2400 |    2231 |   606ms |   4.3% |
|    3200 |    3039 |   527ms |   5.3% |

<Card title="Open this example" icon="play" href="https://breakscale.tech">
  Load **CDN and origin** from the Examples menu and drag the traffic slider yourself.
</Card>
