- An API gateway is programming that sits in front of an application programming interface(API) and acts as a single point of entry for a defined group of Micro-services.
- Because a gateway handles protocol translations, this type of front-end programming is especially useful when clients built with micro services make use of multiple, disparate API’s.
- Rather than hard coding different server URLs in different applications (web, iOS, android) which interact with the same set of services, we can just have the API gateway URL present in front facing apps.
- API gateway will route concerned requests to corresponding Microservices.
- Services in a micro service architecture work on different port’s.
- API Gateway helps us to login once, and then authentication can be used for all services.
- API Gateway helps us to configure common cross cutting concerns at one place.
- We can have global authentication for all the services.
- We can have a common port for showing all micro services which is the part of gateway.
- We can define context path for each API/API Endpoint.
- Multiprotocol Support can be provided by gateway(SOAP, JSON).
- We can limit exposing all the endpoints
- We can apply filter logic in API gateway.
- Swiggy uses AWS API gateway pattern.
- Some service providers which provide API gateway support are
- Netflix Zuul
- Spring cloud API gateway
- An Example of Netflix Zuul can be found at Spring Implant: Microservices
- An Example of Spring Cloud gateway is at following repos
- CQRS Design Pattern
- FAANG/MAANG Engineer
- Low Code Platforms
- Software Testing
- Secure Coding
- IOT
- Microservices
- Web Security
- UML Diagrams
- Fork–join model
- Dependency Injection
- Adapter Pattern
- Join Pattern
- DevOps
- Agile
- Security Awareness
- API gateway pattern
- Serverless Architecture
- Event Driven API paradigms
- Rational Application Development
- COTS
- Rational Software Architecture
- N layer/tier Architecture
- OAuth 2.0
- Scaling Microservices
- SAGA Pattern
- Circuit Breaker Pattern
- Singleton
- Immutable
API gateway pattern
Subscribe to:
Posts (Atom)
Recursion
Q What do you understand by a Recursive Programme? Recursion Is the process of repeating items in a self similar way. In programming langua...
-
Inheritanceis tightly coupled. Inheritance is basically used for polymorphism which can be done in other ways to. Generally over a time we d...
-
How can we secure our micro-services? Application security User security Spring access controls Framework security Interaction with downstre...
-
Q What is the difference between wireless sensor networks and IOT networks? Ans : IoT exists at a higher level then WSN. In other words,...
No comments:
Post a Comment