週刊ダイジェスト // WEB_DEV_GENERAL — 2026年 第35週
folder_open週刊レポート

CloudflareがDNS cacheを100 TB削減 — 第35週 Web開発

Cloudflare memory最適化、速いbrowser release、失敗したCDN cacheがpopulation、locality、break-even mathの重要性を示します。

calendar_todaysummarize2026年 第35週
タグ: SYSTEMS PERFORMANCE読了_時間: 11分

CloudflareがDNS cache memoryを100 TB減らした方法

Cloudflare cacheは2,500億件超のDNS entryを持つため、一byteの無駄もfleet全体で250 GB超になります。五つのrepresentation変更がentryを953 byteから420 byteへ減らし約100 TBを解放しました。Immutable boxがgrowable vectorを置換し、sectionは一listを共有、repeated ownerを除去、large enum variantを外へ移し、encoded record dataをcontiguousに保存します。Insert throughputは毎秒625,000から893,000 entryへ増え、lookup latencyは828nsから670nsへ下がりました。

タグ: WEB PERFORMANCE読了_時間: 5分

速いbrowser releaseがRUM populationを変える

ChromeFirefox二週間のmajor release cycleを準備し、exact-version cohortはより小さく短命になります。Siteがdeployしなくても28日RUM windowは複数milestoneを含み、Extended Stableは別のlong-lived populationを残します。Harry Robertsはrelease annotation、minimum sample threshold、Beta journey test、unsegmented user viewを勧めます。関連navigation研究はvisible redirect 166件に対しunattributed-overhead observation 7,131,737件を発見しました。

タグ: CACHE ECONOMICS読了_時間: 7分

CDN cacheがsiteを遅くするとき

Static siteのwarm cache hitは0.239秒でしたがcold missは0.366秒、uncached baselineは0.281秒でした。Break-even equationは67%のhit rateを要求しました。Daily visitor約九人77 page、複数edge location、deploy purgeへ分散し、実際のrateはほぼ0、external crawlerのslow-page数は38から75へ増えました。この失敗はcachedをfasterと同一視する前にhit、miss、original user-facing metricを全て測る必要を示します。

summarizeダイジェスト_要約

Cloudflare2,500億件超のDNS entryを持つcacheで、一entryの大きさを953 byteから420 byteへ減らしました。Growable collectionの置換、flag packing、重複ownerの除去、record dataのcontiguous storageによりfleet全体で約100 TBを解放しました。Insert throughputは43%上がりlookup latencyは19%下がり、allocation削減とlocality改善がcapacityとspeedを同時に高めると示します。

ChromeFirefox二週間のmajor release cycleへ移ると、application deployなしでもbrowser-version mixがRUMを変えます。小さなcohort、28日window内の多いboundary、長寿命のmanaged releaseがpercentileを動かします。別のnavigation研究はvisible redirect 166件に対してunattributed overhead observation 7,131,737件を見つけ、missing timeへ名前を付けても診断とは限らないと示します。

小規模static siteのCDN実験はbreak-even checkを示します。Warm hitは0.239秒、cold missは0.366秒、uncached baselineは0.281秒で、cacheは損益分岐に67%のhit rateが必要でした。Daily visitor九人77 pageと複数edge locationへ分散し、実際のhit rateはほぼ0、crawlerのslow-page数は38から75へ増えました。

重要ポイント
  • hardwareを増やす前にrepresentationをprofileしてください。Immutable dataはcapacity field、重複値、大きなinline enum variant、分散allocationを除けます。
  • RUMへbrowser BetaとStable dateをannotationし、全user viewを保ち、exact-version percentileを説明に使う前にminimum sampleを要求してください。
  • user locationからcache hit、miss、uncached latencyを測り、break-even hit rateを計算し、最初に問題を示したmetricで結果を検証してください。