Why Do You Need a Caching Tier?
For many years databases have been in need of a caching tier and for good reason. Caching tiers are used to lower the latencies under high throughput to cache both reads and writes depending on an application’s needs and even the query results for frequently executed queries… all good reasons to consider a caching tier! Let’s drill a little more into the rationale here as to why caching tiers are required! Caching tiers help you avoid overloading your precious database! You are also limited in databases between a tradeoff – fast updates or fast queries but not both. Caching tiers can help avoid that. Queries can also be slow on large data so caching tiers help with that! fine!
So do you pick Memcached or Redis? or should you pick a database that consolidates caching and database into a single tier?