微服务、KONG

The Kong Way
  • Kong orchestrates common functionality
  • Build efficient distributed architectures ready to scale
  • Expand functionality from one place with a simple command
  • Focus on your product and let Kong do the REST
The Redundant Old Way
Deployment
API Gateway Pattern(centralized pattern)
  • API Gateway Pattern
    Deploy Kong in a centralized pattern where APIs consume Kong services for authentication, rate limiting and more at the gateway.


    Sidecar Pattern(decentralized “mesh”)
  • Sidecar Pattern
    Deploy Kong in a decentralized “mesh” where microservices and APIs are tightly integrated with Kong services.
Introduction
  • Kong: Secure, Manage and Orchestrate Microservice APIs.
  • a powerful offering for organizations
    in need of security, monitoring, compliance, developer onboarding, higher performance, granular access and a dashboard to manage Kong easily.
  • The Microservice API Gateway
    Quickly build API-centric applications. Leverage the latest microservice and container design patterns. And tie it all together with the Kong microservice API gateway.
securing, managing, and orchestrating microservice APIs
  • Speed development cycles
  • Standardize authentication across all your APIs
  • Improve application scalability while reducing transaction latency
  • Implement fine-grained control over HTTP requests and responses
  • Monitor application vital signs and API behavior in real-time
  • Avoid vendor lock-in with open source API gateway technology
  • Extend microservices with configurable Kong plugins.

关联点

  • Lua
    Lua is a lightweight, multi-paradigm programming language designed primarily for embedded use in applications.
  • API
    An API can be thought of as an instruction manual for communication between multiple software apparatuses. For example, an API may be used for database communication between web applications. By extracting the implementation and relinquishing data into objects, an API simplifies programming.
  • PostgreSQL
    Postgres, an object-relational database management system (ORDBMS) with an emphasis on extensibility and standards compliance.
  • DB-Engines RankingACIDCAP theorem
    ACID:原子性(atomicity,或称不可分割性)、一致性(consistency)、隔离性(isolation,又称独立性)、持久性(durability)。
  • Apache Cassandra
    Free and open-source distributed NoSQL database management system, developed by Facebook.
  • What is Cassandra
Consul @github & consul.io
  • Service Discovery and Configuration Made Easy
  • Service Discovery
  • Failure Detection
  • Multi Datacenter
  • KV Storage

对比

  • Dubbo
    Apache Dubbo (incubating) is a high-performance, java based, open source RPC framework.
    Dubbo Architecture
  • spring-cloud-netflix

Integration with Netflix OSS components (open source software).
Netflix OSS and Spring Boot — Coming Full Circle;
Why Pivotal: Ship great software, faster with Pivotal;

Spring Boot makes it easy to create Spring-powered, production-grade applications and services with absolute minimum fuss.
J2SE + Spring -> J2EE + SpringMVC -> Sprint Boot

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容