Microservices API Gateway

Benefits: Instead of specific services, clients talk to the API gateway, which provides a client-specific API.

Drawbacks: Needs to be HA & managed. New services & APIs needs updating the gateway.

Off the shelf:

Commercial:

  • AWS API Gateway: Configure each request to a BE service that is an AWS Lambda function, an app http service or AWS service.
  • AWS App load balancer: Basic routing to BE services. 

Open-source product:

  • Kong: nginx http based. Has plugins.
  • Traefix: Go based. Integrate with service registries.

Open-source framework:

  • Netflix Zuul
  • Spring Cloud Gateway

Graph based technologies:

  • Netflix Falcor: A Graph query implementation. Netflix started with Groovy API scripts in a monolithic architecture. Moved to an API modules using NodeJS & Docker, where scripts invoke an API gateway using Netflix Falcor. Falcor does declarative dynamic API composition & can invoke multiple services in a single request.
  • Facebook GraphQL: a standard with clients & servers available in multiple languages, such as NodeJS, Java & Scala.
  • Apollo GraphQL: JS/NodeJS implementation with useful extensions to GraphQL with a server & client.

Source: Microservices Patterns by Chris Richardson

要查看或添加评论,请登录

Swaminathan Saikumar的更多文章

  • Why is Go fast?

    Why is Go fast?

    Why is Go fast? Go has become popular for microprocesses & for scaling. What are the design decisions that make Go…

  • Cloud native architecture-an overview

    Cloud native architecture-an overview

    Any infrastructure has two main components: compute & storage. Software needs compute to run & storage to read/write.

  • I Bonds during high inflation

    I Bonds during high inflation

    During times of high inflation in the USA, consider the Series I Bonds issued by the US treasury. Currently, I bonds…

  • Microservices deployment

    Microservices deployment

    History of deployment options: Physical machines: 1990s. Fast deployment, best performance.

  • Microservices security & tracking

    Microservices security & tracking

    Security: AAA: Authentication, Authorization, Accounting/Auditing Secure interprocess communication (TLS) Security…

    1 条评论
  • Isolation & Locks

    Isolation & Locks

    The CAP theorem states that two out three of Consistency, Availability & Partition Tolerance may be achieved. RDBMS…

  • Messaging architecture

    Messaging architecture

    Message formats: Text, such as JSON/XML. Readable & easier for debugging.

  • SQL, NoSQL or Hadoop for 'Big Data'?

    SQL, NoSQL or Hadoop for 'Big Data'?

    In an earlier post, we had looked at how to use the 3Vs (Volume, Velocity & Variety) of data & the CAP theorem…

  • Choose relational vs NoSQL database?

    Choose relational vs NoSQL database?

    Relational or NoSQL? You have this great software application in mind. Now, to implement it, what database should you…

  • Scaling applications-an overview

    Scaling applications-an overview

    As a business grows, its software applications will need to scale. Computing bottleneck Run multiple identical…

社区洞察

其他会员也浏览了