Tiven Wang
Wang Tiven September 22, 2017
425 favorite favorites
bookmark bookmark
share share

Context

Netflix Zuul

Building Microservices: Using an API Gateway

How API Gateway can perform services composition?

Typically, you need to write code that handles each incoming request by invoking the various backend services and combining the results.

The API Gateway needs to be implemented using a scalable server technology that has a ‘scripting language’, e.g. NodeJS, NGINX, Java NIO based server such as Vertx, …

Ideally the API gateway should invoke the backend services concurrently. But you want to avoid callback hell. Here is an presentation that I gave on this topic: https://www.slideshare.net/chris.e.richardson/futures-and-rx-observables-powerful-abstractions-for-consuming-web-services-asynchronously-springone-s2gx

Similar Posts

  • Microservices - Inter-Process Communication The kernal of Microservices Architecture is inter-process communication
  • Microservices - API Gateway : Spring Cloud Gateway Spring Cloud Gateway 是一个新的基于 Spring Framework 5, Project Reactor and Spring Boot 2.0 的 API Gateway 产品
  • Microservices - API Gateway : Zuul Zuul 是来自 NetFlix 的 Microservice 产品家族的 API Gateway 服务或者说是 edge 服务。 Zuul 为开发者构建微服务架构提供了 Routing,Monitoring,Managing resiliency,Security等功能。简单来说,Zuul 可以被看作是一个反向代理,在服务实例间 Zuul 代理内部使用 Eureka server 作为 service discovery,使用Ribbon 作为 load balancing
  • Microservices - Transactions
  • Try Cloud Foundry 13 - Logs Loggregator is the next generation system for aggregating and streaming logs and metrics from all of the user apps and system components in an Elastic Runtime deployment. Loggregator uses Google's protocol buffers along with gRPC to deliver logs.
  • Try Cloud Foundry 12 - Config Server Config Server for Pivotal Cloud Foundry (PCF) is an externalized application configuration service, which gives you a central place to manage an application’s external properties across all environments.

Comments

Back to Top