Wednesday, March 10, 2021

Cloud Design Patterns


API Gateway

(Forward)Proxy vs Reverse Proxy
https://www.youtube.com/watch?v=AuINJdBPf8I
(Forward)Proxy vs Reverse Proxy
Requests Going Out Via Proxy  -> Forward Proxy
Requests Coming In Via Proxy  -> Reverse Proxy
Reverse Proxy - Use cases : Security, Load Balancer , Caching 
Forward Proxy - Corporate Control, Logging, Monitoring, Cached Responses

Zuul
API Gateway
Edge Microservice -> Sits at the edge of Microservice Architecture, Very close to user input.
Edge Microservice is also known as API Gateway.
"Zuul" is an implementation of API Gateway.
API Gateway - is a Facade/Abstraction Layer at the very edge of Microservices Architecture , 
which handles incoming Requests

Eureka
Eureka - "Found it" in Ancient Greek
Archimedes said it!!!
Eureka is a Registry and LookUp Service which allows Microservice to know each other

Hystrix
Fault Tolerant Library from Netflix which Implements "Circuit - Breaker" Pattern
<!-- https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-starter-hystrix -->
<dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-starter-hystrix</artifactId>
    <version>1.4.7.RELEASE</version>
</dependency>


How to configure SpringCloud Zuul – Routing and Filtering using SpringBoot | Java Techie
https://www.youtube.com/watch?v=6aG0xFpeNFw

No comments:

Post a Comment

Azure - Pipeline - Add Approver for Stage

https://learn.microsoft.com/en-us/azure/devops/pipelines/process/approvals?view=azure-devops&tabs=check-pass