This article was first published on The Blueprint by Bluzelle - Medium
A database is one of the most common uses of data store technology like Bluzelle. This is what most people commonly think of. Additionally this same technology can be used as a cache. This blog will explain in details what is a cache and why it is important.
Overview of Three-Tier Architecture
A three-tier architecture is a model generally used by app developers to create flexible and reusable applications. It includes a presentation tier (user interface), an application tier (business logic) and a data tier (databases and file storage).
Presentation Layer: the interface that users interact with. It translates tasks and results from the servers to things that users can understand.
Application Tier: coordinator of the application. It processes commands, makes logical decisions and processes data between the user interface and the database.
Data tier: where the data and files are actually stored.
Each of these tiers can work and be maintained independently, and in most cases, be in different hosts. Therefore every time the application queries for data, the speed is limited by network performance. Data retrieval time plays a key role in user experience and is a critical requirement in almost all commercial applications.
What is database caching and how does it work
Caching is a buffering technique that stores frequently-queried data in a temporary memory. It makes data easier to be accessed and reduces workloads for databases. For example, you need to retrieve a user’s profile from the database and you need to go from a server to server. After the first time, the user profile is stored next (or much nearer) to you. Therefore, it great reduces the time to read the profile when you need it again.
The cache can be set up in different tiers or on its own, depending on the use ...
To keep reading, please go to the original article at:
The Blueprint by Bluzelle - Medium