Grokking Microservices Design Patterns
Vote

0% completed

API Gateway Pattern: An Example

The last lesson listed what an API gateway does. This lesson builds one, and the code runs.

The system is a library with three services. The catalogue service answers searches and imports. The user service holds profiles and loans. The inventory service tracks copies on the shelf. A client never calls those services. It calls the gateway.

What the Gateway Adds

Routing on its own would make the gateway a thin pass-through. These are the parts that make it worth running.

  1. Routing: match the request path to the service that owns it. 2

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content