As the scale of the data and applications become larger, it becomes a need to make the data readily available. Caching is one of the ways to make the data more readily available and this reduces the load on the database engine.
There are different caching architectural patterns.
a. Embedded Cache – In case of Embedded cache type, whenever request(s) come into Load Balancer, Load Balancer forwards the request to one of the application services. Request is received by the application and application checks if the same request was already executed or not and is stored in cache or not.
b. Embedded Distributed Cache: This is the same as Embedded cache except that Hazel cast cluster is used.
c. Client-Server Cache: In this caching type, the application use cache client to connect to Cache Server (Hazel cast).
d. Cloud Cache: This is the same as Client-Server caching but with the difference that the server part is moved out of the organization into the cloud.
e. Sidecar Cache: Sidecar cache pattern is used in the Sidecar pattern and the Sidecar pattern is mostly used in Kubernetes environments. When a request comes to the Application container, the application will use the cache client to connect to Cache Container.
f. Reverse Proxy Cache: In the case of Reverse Proxy cache, the cache is put in front of the application. When a request comes into the Load Balancer, the Load Balancer will check if such a request is already cached or not.
g. Reverse Proxy Sidecar Cache: In this caching type, from Kubernetes Service (Load Balancer), the request goes to one of the PODs. Inside the POD, a request is received by Reverse Proxy Cache Container and not the application container. Reverse Proxy Cache Container checks if any such request is already cached or not.
Posted Date:- 2021-11-27 09:15:04
What is Domain Driven Design (DDD)? How is it used in Microservices?
What is Eureka in Microservices?
Why do Microservices require a DevOps approach??
What is a bounded context in microservices?
What is the purpose of Netflix Zuul?
What is the Service Discovery pattern in microservices?
What is a Log aggregator pattern in Microservices?
What is polyglot architecture in Microservices?
What is the CDC pattern in microservices?
How to deploy microservices in java?
What tools can be used for monitoring microservices?
What is feign client in microservices?
What are the most common mistakes while transitioning to Microservices?
Which acts as a database of services in microservices?
How are the problems with distributed transactions addressed in microservices?
What is the difference between the anonymous class and Lambda function?
What are the use cases for which Lambda was actually designed?
What are the Final Variables and Effectively final variables in Lambda?
What is a circuit breaker pattern in Microservices?
What is the CQRS pattern in microservice??
What do you know about Lambda Expression?
What are the various design patterns used in microservices?
What is a saga pattern in microservices?
What is SQS in Lambda? What role does it play?
What do you know about Configuration Management?
Is vertical scaling possible in Lambda?
What are the disadvantages of microservices?
Efficient utilization & fast deployment represent which pattern in microservices?
How to deploy microservices in docker?
What are the main components of Microservices architecture?
What are the caching types in microservices?
How to implement microservices in java?
What do you know about building an AMI?
What are the main features of Microservices?
Why are containers a good infrastructure for microservices?
What are microservices in spring boot?
What is event-driven communication in microservices?
What is API gateway in microservices?
What is Microservices Architecture?
What are microservices in .net?
How does a microservices design complicate business logic?
Give a simple method to improve performance in AWS Lambda?