4 database caching strategies for scaling applications

When 𝘀𝗰𝗮𝗹𝗶𝗻𝗴 𝗮𝗽𝗽𝗹𝗶𝗰𝗮𝘁𝗶𝗼𝗻𝘀 the database is often one of the bottlenecks. Caching is an effective way of reducing load on the database engine and increase response speed of the application.

The diagrams above describe the four most common caching patterns: cache-aside, read-through, write-through and write-behind. Which one to chose depends on your application.