cache

Design Pattern

Cache aside

  • read cache before store
  • client-driven cache save

Read through

  • cache as proxy
  • server-driven cache save

Write through

  • update cache sync store

Write behind caching

linux page cache

  • lazy write