Cold Cacheとは何か?
Cold cacheは、通常プロセスの起動直後、deployの後、あるいはeviction後に、有用なデータをほとんど、あるいはまったく保持していません。それに対するリクエストはミスし、originまで抜け落ちるため、十分なエントリが投入されるまでlatencyは高くなります。パフォーマンスは、使用とともにcacheが温まるにつれて改善します。
なぜ重要か
Latchkeyのmanaged runnerでは、新しいrunnerはcold dependency cacheで起動するため、最初のbuildはすべてをダウンロードし、より遅く実行されます。Cacheを温める、または復元することが、後の実行を速くするものです。
関連ガイド
What Is a Warm Cache?A warm cache is already populated with frequently needed data, so most requests hit it and are served quickly…
What Is a Cache Miss?A cache miss occurs when requested data is not in the cache, forcing a slower fetch from the origin and usual…
What Is Cache Warming?Cache warming is the deliberate preloading of a cache with likely-needed data before traffic arrives, so earl…