Caching is a fundamental computing concept that improves performance by storing frequently accessed data in faster, smaller storage layers. The article explores caching principles from CPU cache layers to database buffer pools, covering hit rates, temporal and spatial locality, replacement policies like LRU and LIFO, and

13m read timeFrom planetscale.com
Post cover image
Table of contents
FoundationHit rateYour computerTemporal LocalitySpatial LocalityGeospatialReplacement policiesPostgres and MySQLConclusion
1 Comment

Sort: