DEV Community

Discussion on: 4 ways to update your cache

Collapse
 
imthedeveloper profile image
ImTheDeveloper

Really like these approaches.

Do you happen to know of any examples implementing refresh ahead? Is this something you get out of the box with some caches/databases out there?

Collapse
 
vishnuchilamakuru profile image
Vishnu Chilamakuru

'Refresh Ahead' approach is rarely used in real-time production applications. No cache/database provide out of the box solutions. I think max they provide ecosystem with plugins/tools to synchronize between two data sources like to sync data between redis/mysql kind of plugins. But, most of the developers prefer to have their own implementation to keep it simple based on their use case.