微服务 - API 网关层
Microservices - API Gateway Layer
我阅读了一些关于在微服务架构中使用 api 网关的详细信息。我读到它基本上有助于安全、转换、节流等。编排也是它的职责之一吗?当我读到微服务时,我看到它应该有哑管道和智能端点,服务必须经过编排而不是编排。所以我的假设是编排不是 api 网关的责任。
可能没有编排,但有一种模式称为 API 网关
Using an API Gateway
Usually a much better approach is to use what is known as an API
Gateway. An API Gateway is a server that is the single entry point
into the system. It is similar to the Facade pattern from
object-oriented design. The API Gateway encapsulates the internal
system architecture and provides an API that is tailored to each
client. It might have other responsibilities such as authentication,
monitoring, load balancing, caching, request shaping and management,
and static response handling. pattern call API Gateway
https://www.nginx.com/blog/building-microservices-using-an-api-gateway/
https://www.nginx.com/blog/microservices-reference-architecture-nginx-proxy-model/
我阅读了一些关于在微服务架构中使用 api 网关的详细信息。我读到它基本上有助于安全、转换、节流等。编排也是它的职责之一吗?当我读到微服务时,我看到它应该有哑管道和智能端点,服务必须经过编排而不是编排。所以我的假设是编排不是 api 网关的责任。
可能没有编排,但有一种模式称为 API 网关
Using an API Gateway
Usually a much better approach is to use what is known as an API Gateway. An API Gateway is a server that is the single entry point into the system. It is similar to the Facade pattern from object-oriented design. The API Gateway encapsulates the internal system architecture and provides an API that is tailored to each client. It might have other responsibilities such as authentication, monitoring, load balancing, caching, request shaping and management, and static response handling. pattern call API Gateway
https://www.nginx.com/blog/building-microservices-using-an-api-gateway/
https://www.nginx.com/blog/microservices-reference-architecture-nginx-proxy-model/