Educational — Cloud egress & data-transfer cost guides. FinOps-lite estimators. Not a quote, broker, or savings guarantee. Launching soon where incomplete.
cdn-origin · Educational

Cloud egress: Estimating CDN Origin Fill Egress

CDN origin fill is egress you pay on cache misses: estimate origin_GB ≈ client_GB × (1 − CHR) × inflation, then apply the origin provider’s $/GB separately from edge bandwidth. Educational Mode C literacy — Unknown until verified.

Updated

Origin fill is egress you pay when the CDN misses — estimate it from hit ratio and object size, not vibes.

Estimator inputs: CDN origin fill drivers and Unknown flags (educational)
InputWhy it mattersHeuristicUnknown?
Cache hit ratio (CHR)Misses drive origin bytesorigin_bytes ≈ client_bytes × (1−CHR)Measure per path
TTL / Cache-ControlShort TTL → more fillsGroup by cache policyApp owners
Range requests / videoPartial objects still billTrack range miss patternsMedia heavy
CompressionWire bytes ≠ raw objectUse transferred bytesLogs
Multi-CDNEach CDN may fill independentlySum fills; watch thundering herdsFailover tests

Sources (official CDN / origin docs)

  1. AWS CloudFront pricing — as-of Unknown until verified
  2. Amazon CloudFront Developer Guide — as-of
  3. Cloudflare CDN / cache docs — as-of
  4. Cloudflare Cache-Control concepts — as-of
  5. Fastly documentation — caching — as-of
  6. AWS S3 pricing (origin DT context) — as-of Unknown until verified
  7. What is AWS Cost Explorer? — as-of (map CloudFront / origin talkers via the CE decoder)

Dated starting points only — Unknown until verified means no invented $/GB. Edge and origin invoice separately; measure CHR per path before Mode C arithmetic.

Educational estimator: origin_egress_GB ≈ client_download_GB × (1 − cache_hit_ratio) × inflation. Then multiply by the origin provider's egress rate — which may differ from the CDN's bill. Two bills, one user request. Keep free-tier cliffs on origin products separate from edge bandwidth.

Path templates to model

Common traps

Origin fill is miss-driven egress toward origin — not edge bandwidth, not replication. Measure CHR per path before Mode C arithmetic. No guaranteed savings from “add a CDN” without measuring CHR. Badge unverified rates Unknown until verified; stay FinOps-lite.

FinOps checklist

  1. Export client bytes and cache hit ratio by path or Cache-Control group.
  2. Estimate fill with Mode C; apply dated origin rates only.
  3. Add inflation notes for ranges, purges, and multi-CDN.
  4. Keep edge and origin as separate bill lines.
  5. See origin fill, CHR, methodology.

Related vocabulary: origin fill / origin egress, cache hit ratio (CHR), multi-CDN, path template, Unknown until verified, FinOps-lite.

FinOps-lite Unknown until verified

Worked example (educational): 12 TB client / 70% CHR + inflation note

  1. Client downloads 12,000 GB; CHR 0.70 → base origin fill ≈ 3,600 GB.
  2. Inflation (revalidation storms, range misses, multi-CDN cold-fill): label explicitly — e.g. +15% → ≈ 4,140 GB educational fill.
  3. Origin $/GB cell — Unknown until cited from the origin provider (S3, R2, Blob, VPS).
  4. Edge CDN bill for 12 TB is a separate line — never blend edge $/GB with origin $/GB.
  5. Open Mode C; for AWS-origin talkers also map via the Cost Explorer decoder. Sibling delivery paths: S3 vs CloudFront, Vercel Blob vs R2. No savings guarantee.
Numbered CDN origin-fill stack — Unknown rate cells
#Path classVolumeUnit rate
1Client / edge transfer12,000 GBUnknown edge $/GB
2Origin fill (1 − CHR)≈ 3,600 GBUnknown origin $/GB
3Inflation (ranges / purge / multi-CDN)as labeledadd to fill — do not hide

Second educational stack (CHR sensitivity twin): same 12,000 GB client downloads at 40% CHR (no inflation) → origin fill ≈ 7,200 GB vs the 70% CHR base ≈ 3,600 GB. Re-run Mode C (?path=cdn) and compare — CHR, not blog edge $/GB, usually dominates. Sibling multi-CDN cold-fill: open multi-CDN origin fill (glossary: multi-CDN) and CloudFront vs Cloudflare CDN when two edges can each miss independently. Low-CHR API note: 2,000 GB client at 15% CHR → fill ≈ 1,700 GB. Synthetic only — Unknown rates; no savings guarantee.

Open calculator Mode C Mode C · path=blob-r2 Multi-CDN origin fill CloudFront vs Cloudflare Cost Explorer decoder S3 CRR (not origin fill)

Worked-estimate sensitivity (educational)

Hold the 12,000 GB client baseline and walk three CHR / multi-CDN runs. Every unit rate stays Unknown until dated CloudFront / Cloudflare / origin cites — literacy arithmetic, not a quote.

  1. Run A — CHR 0.70 base: 12,000 GB client → origin fill ≈ 3,600 GB (no inflation). Open Mode C (?path=cdn). Keep edge 12 TB on a separate bill line.
  2. Run B — CHR 0.40 twin: same 12,000 GB at 40% CHR → fill ≈ 7,200 GB. Re-run Mode C — CHR, not blog edge $/GB, usually dominates. Optional +15% inflation → ≈ 8,280 GB educational fill.
  3. Run C — multi-CDN cold-fill twin: two edges each miss independently on a failover window — educational fill can approach 2 × single-edge miss GB for the cold paths. Twin with multi-CDN origin fill and CloudFront vs Cloudflare. Low-CHR API note: 2,000 GB client at 15% CHR → fill ≈ 1,700 GB. Replication (CRR) stays off the fill line.
Sensitivity runs — Unknown rates (educational)
RunWhat changesMeters to keep visibleUnit rates
A12,000 GB client · CHR 0.70Edge 12 TB · origin fill ≈ 3,600 GBUnknown
B12,000 GB client · CHR 0.40 (± inflation)Edge 12 TB · fill ≈ 7,200–8,280 GBUnknown
CMulti-CDN cold-fill / low-CHR APIPer-edge miss · optional 2× cold paths · CRR separateUnknown

Cross-read S3 direct vs CloudFront, multi-CDN, S3 CRR, Cost Explorer decoder, and methodology. Badge every unverified rate Unknown until verified. No savings guarantee. No scorecrown “add a CDN” from Incomplete CHR cells.

FAQ on this path

What is origin fill?

Bytes pulled from origin storage or compute when the CDN lacks a fresh object — a major Cloud egress meter on miss-heavy paths.

How do I estimate origin egress quickly?

origin_GB ≈ client_GB × (1 − CHR) × inflation. Then apply the origin provider’s $/GB. Measure CHR per path when possible.

Why can two bills appear for one request?

CDN edge bandwidth and origin egress/storage transfer may invoice separately. Model both.

Is origin fill the same as S3 CRR?

No. Origin fill is CDN miss traffic toward origin storage/compute. S3 CRR is bucket→bucket inter-region replication. Keep them on separate lines.

How sensitive is origin fill to CHR?

Very. On 12 TB client downloads, 70% CHR ≈ 3.6 TB fill while 40% CHR ≈ 7.2 TB fill — same edge bill shape, very different origin meter. Re-run Mode C (?path=cdn); for multi-edge herds see multi-CDN and CloudFront vs Cloudflare.

Trademarks: Amazon Web Services, AWS, Microsoft Azure, Google Cloud Platform, GCP, and Cloudflare are trademarks of their respective owners. PipeToll (Ameti One LLC) is not affiliated with, endorsed by, or sponsored by those companies. Educational comparisons may be outdated — verify current rates with each provider.