Back to Developer Roadmap

Refresh-ahead

src/data/roadmaps/system-design/content/[email protected]

4.0836 B
Original Source

Refresh-ahead

You can configure the cache to automatically refresh any recently accessed cache entry prior to its expiration.

Refresh-ahead can result in reduced latency vs read-through if the cache can accurately predict which items are likely to be needed in the future.

Disadvantage of refresh-ahead:

  • Not accurately predicting which items are likely to be needed in the future can result in reduced performance than without refresh-ahead.

Visit the following resources to learn more: