Need advice about which tool to choose?Ask the StackShare community!

Kong

625
1.5K
+ 1
139
linkerd

129
308
+ 1
7
Add tool

Kong vs linkerd: What are the differences?

Introduction

Kong and Linkerd are both popular service mesh solutions that help manage the complexity of microservices architectures. However, there are key differences between the two.

  1. Deployment and Architecture: Kong is an API gateway and service mesh that is deployed as a standalone system, usually through Docker or Kubernetes. It acts as a centralized proxy for all incoming requests. In contrast, Linkerd is a lightweight service mesh that operates as a sidecar proxy, deployed alongside each microservice. This allows Linkerd to provide observability and control at the application level, while Kong operates at the infrastructure level.

  2. Service Discovery and Load Balancing: Kong uses a plugin system to handle service discovery and load balancing. With Kong, you can configure plugins to perform DNS-based service discovery and load balancing. In contrast, Linkerd uses a decentralized architecture with a sidecar proxy for each microservice. This allows Linkerd to automatically discover and load balance traffic without any additional configuration.

  3. Integration and Extensibility: Kong provides a rich set of plugins and integrations, making it highly extensible and customizable. It supports authentication, rate limiting, transformation, and caching, among other features. On the other hand, Linkerd focuses more on observability and reliability, providing features like request tracing, metrics, and circuit breaking. While Linkerd supports some extensibility, it has a narrower focus compared to Kong.

  4. Ease of Use and Learning Curve: Kong offers a comprehensive set of features, but this can make it more complex to set up and configure. It requires a certain level of expertise to effectively use and manage Kong as an API gateway and service mesh. Linkerd, being lighter weight and more focused, has a smaller learning curve and can be easier to integrate into existing microservices architectures.

  5. Community and Support: Kong has a larger and more established community compared to Linkerd. With a larger user base and more contributors, Kong enjoys a wider range of community-supported plugins and extensions. Linkerd, while growing in popularity, may have a more limited community and plugin ecosystem.

  6. Vendor and Commercial Support: Kong is backed by Kong Inc., a company that offers a commercial version with additional enterprise features and support. This can be beneficial for organizations looking for reliable commercial support and additional functionality. Linkerd, in comparison, is an open-source project primarily maintained by the Cloud Native Computing Foundation (CNCF) without a direct commercial entity backing it.

In summary, Kong is a robust API gateway and service mesh solution that operates as a standalone system, while Linkerd is a lightweight, sidecar-based service mesh focused on observability and reliability. Kong offers more extensibility and customization options, but has a steeper learning curve, while Linkerd is simpler to integrate but with a narrower set of features. Each solution has its strengths and best fits different use cases and deployment scenarios.

Decisions about Kong and linkerd
Prateek Mittal
Fullstack Engineer| Ruby | React JS | gRPC at Ex Bookmyshow | Furlenco | Shopmatic · | 4 upvotes · 288.5K views

Istio based on powerful Envoy whereas Kong based on Nginx. Istio is K8S native as well it's actively developed when k8s was successfully accepted with production-ready apps whereas Kong slowly migrated to start leveraging K8s. Istio has an inbuilt turn-keyIstio based on powerful Envoy whereas Kong based on Nginx. Istio is K8S native as well it's actively developed when k8s was successfully accepted with production-ready apps whereas Kong slowly migrated to start leveraging K8s. Istio has an inbuilt turn key solution with Rancher whereas Kong completely lacks here. Traffic distribution in Istio can be done via canary, a/b, shadowing, HTTP headers, ACL, whitelist whereas in Kong it's limited to canary, ACL, blue-green, proxy caching. Istio has amazing community support which is visible via Github stars or releases when comparing both.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Kong
Pros of linkerd
  • 37
    Easy to maintain
  • 32
    Easy to install
  • 26
    Flexible
  • 21
    Great performance
  • 7
    Api blueprint
  • 4
    Custom Plugins
  • 3
    Kubernetes-native
  • 2
    Security
  • 2
    Has a good plugin infrastructure
  • 2
    Agnostic
  • 1
    Load balancing
  • 1
    Documentation is clear
  • 1
    Very customizable
  • 3
    CNCF Project
  • 1
    Service Mesh
  • 1
    Fast Integration
  • 1
    Pre-check permissions
  • 1
    Light Weight

Sign up to add or upvote prosMake informed product decisions

- No public GitHub repository available -

What is Kong?

Kong is a scalable, open source API Layer (also known as an API Gateway, or API Middleware). Kong controls layer 4 and 7 traffic and is extended through Plugins, which provide extra functionality and services beyond the core platform.

What is linkerd?

linkerd is an out-of-process network stack for microservices. It functions as a transparent RPC proxy, handling everything needed to make inter-service RPC safe and sane--including load-balancing, service discovery, instrumentation, and routing.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Kong?
What companies use linkerd?
See which teams inside your own company are using Kong or linkerd.
Sign up for StackShare EnterpriseLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Kong?
What tools integrate with linkerd?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

GitHubPythonNode.js+26
29
15956
What are some alternatives to Kong and linkerd?
Apigee
API management, design, analytics, and security are at the heart of modern digital architecture. The Apigee intelligent API platform is a complete solution for moving business to the digital world.
Amazon API Gateway
Amazon API Gateway handles all the tasks involved in accepting and processing up to hundreds of thousands of concurrent API calls, including traffic management, authorization and access control, monitoring, and API version management.
Ambassador
Map services to arbitrary URLs in a single, declarative YAML file. Configure routes with CORS support, circuit breakers, timeouts, and more. Replace your Kubernetes ingress controller. Route gRPC, WebSockets, or HTTP.
Azure API Management
Today's innovative enterprises are adopting API architectures to accelerate growth. Streamline your work across hybrid and multi-cloud environments with a single place for managing all your APIs.
Tyk Cloud
Tyk is a leading Open Source API Gateway and Management Platform, featuring an API gateway, analytics, developer portal and dashboard. We power billions of transactions for thousands of innovative organisations.
See all alternatives