Skip to content
/
Suscribirse Subscribe

Detrás del telón hay sistemas, no magia. Arquitectura de software, IA y computación de bajo nivel para las trincheras de producción.

Behind the curtain there are systems, not magic. Software architecture, AI, and systems engineering from the production trenches.

3-2-1 Rule · GFS Retention S3 vs Zero-Egress R2 ($0.015/GB) 100% Client-Side

Model how many terabytes your Grandfather-Father-Son (GFS) backup retention really consumes after compression and daily churn, then compare monthly bills between zero-egress object storage (Cloudflare R2 at $0.015/GB-mo) and standard paid-egress buckets.

Total Stored Backup Footprint
—
Compressed base snapshot: —
GFS Storage Multiplier
—
— recovery points retained
Est. Cloudflare R2 Bill / mo
—
$0 egress + Class A writes
Paid-Egress S3 ($0.023 + $0.09/GB out)
—
Egress delta: —
Storage breakdown across GFS tiers

GFS Retention Math & Hidden Cloud Egress Traps

Most teams budget cloud backups by multiplying current disk usage by $0.015–$0.023/GB and immediately miss two silent bill multipliers: long-tail GFS snapshot retention and outbound egress fees during DR drills or full server migrations.

Compressed_Base = Source_GB * Compression_Ratio
Daily_Churn = Compressed_Base * (Daily_Change% / 100) * Daily_Count
Weekly_Churn = Compressed_Base * min(1, 3 * Daily_Change% / 100) * Weekly_Count
Monthly_Archives = Compressed_Base * Monthly_Count [Consolidated long-term points]
R2 Monthly Estimate = Total_GB * $0.015 + Put_Millions * $4.50 + $0 Egress

Reference R2 pricing from Cloudflare R2 Pricing Docs ($0.015/GB-month Standard storage, $4.50 per million Class A operations, $0 egress) alongside contingency planning benchmarks from NIST SP 800-34.

Quick Sizing Reference (Per 1 TB Raw Source at 0.65 Compression)

Retention Tier GFS Schedule Approx. Stored Volume Common Operational Trap
Single Latest Copy 1d · 0w · 0m ~650 GB (1.0x base) Silent corruption or ransomware overwrites your lone backup
Balanced Ops (14d / 4w / 3m) 21 restore points ~3.0 TB (4.6x base) Forgetting lifecycle expiry on aborted multipart uploads
1-Year Audit (30d / 8w / 12m) 50 restore points ~9.6 TB (14.8x base) Paying $90/TB egress fees to run actual DR restore tests

FAQ

Why count each monthly Grandfather snapshot near 1x base capacity?
Keeping a single 24-month uninterrupted incremental delta chain is fragile—one missing pack destroys two years of recovery points. Even with chunk-level deduplication (e.g., restic or kopia), churned logs and deleted files push annual retained footprints significantly above the active dataset.

Why do Class A API writes spike on unbundled small files?
Uploading millions of tiny files individually incurs $4.50/million Class A write fees on R2 (and comparable PUT charges on S3). Chunking archives into 16–64 MB blobs slashes API fees by orders of magnitude.

Does egress cover full disaster-recovery testing?
Yes—set Monthly Egress equal to one full compressed restore volume to see why zero-egress providers eliminate penalty shocks when validating backups.

Suscribirse Subscribe