Wednesday 21 March 2012

Cache strategies

  • Write through - write-to-cache operation will return after writing to memory and also writing on disk
  • Write behind - write-to-cache operation will return after modifying memory, but it wont wait until write-to-disk finishes. Writing to disk can be delayed. This strategy allows better performance, but it has to deal with failures.

No comments: