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


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 - API Gateway : Zuul .
  • 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.
  • Microservices - Circuit Breaker 访问远程服务时, 比依赖超时时间更好一些的方式是一种叫断路器(Circuit Breaker)的模式. Circuit Breaker 就像一位交通警察, 在前方道路畅通的情况下, 他会放行; 当前方道路由于各种原因拥堵时, 他会告诉你前方道路不通请回; 如果他是个更智能的交警的话, 还会告诉你前方道路部分拥堵, 只允许部分车辆通过, 比如实行单双号.
  • Redis Redis


Back to Top