Service Mesh Ultimate Guide 2021: Next Generation Microservices Communication
Service Mesh Ultimate Guide 2021: Next Generation Microservices Communication
18 - Additional Resources
18 - Glossary
PRODUCTION EDITOR Ana Ciobotaru / COPY EDITOR Maureen Spencer / DESIGN Dragos Balasoiu & Ana Ciobotaru
GENERAL FEEDBACK [email protected] / ADVERTISING [email protected] / EDITORIAL [email protected]
The InfoQ eMag / Issue #101 / December 2021
Key Takeaways
3
Not all organizations have transitioned all their business
The InfoQ eMag / Issue #101 / December 2021
4
The InfoQ eMag / Issue #101 / December 2021
The Service
Mesh Pattern
5
Service Mesh Features
The InfoQ eMag / Issue #101 / December 2021
• Provides additional
Reliability
observability and monitoring,
• Circuit Breaker
such as top-line metrics
(request volume, success • Fault Injection/Chaos Testing
rates, and latencies), support
for distributed tracing, and
the ability to “tap” and inspect
6
Service Mesh Architecture: Looking Under the Hood
7
Use Cases business impact such as avoiding Too Many Traffic Management
The InfoQ eMag / Issue #101 / December 2021
8
The centralized control of issues when the whole system is Service Mesh
9
Service Mesh Comparisons: Service Mesh Tutorials
The InfoQ eMag / Issue #101 / December 2021
10
The InfoQ eMag / Issue #101 / December 2021
History of the Service Mesh
InfoQ has been tracking the In late 2014, Netflix released 2018, Consul Connect and Gloo
topic that we now call service an entire suite of JVM-based Mesh in November 2018, service
mesh since late 2013, when utilities including Prana, a mesh interface (SMI) in May
Airbnb released SmartStack, “sidecar” process that allowed 2019, and Maesh(now called
which offered an out-of-process application services written in Traefik Mesh) and Kuma in
service discovery mechanism any language to communicate via September 2019.
(using HAProxy) for the emerging HTTP to standalone instances
“microservices” style architecture. of the libraries. In 2016, the Even service meshes that
Many of the previously labeled NGINX team began talking about emerged outside of the unicorns,
“unicorn” organizations were “The Fabric Model,” which was such as HashiCorp’s Consul,
working on similar technologies very similar to a service mesh, took inspiration from the
before this date. From the early but required the use of their aforementioned technology,
2000s Google was developing commercial NGINX Plus product often aiming to implement
its Stubby RPC framework for implementation. Also, Linkerd the CoreOS coined concept of
that evolved into gRPC, and v0.2 was announced in February "GIFEE”; Google infrastructure for
the Google Frontend (GFE) and 2016, though the team didn't start everyone else.
Global Software Load Balancer calling it a service mesh until
(GSLB), traits of which can later. For a deep-dive into the history
be seen in Istio. In the earlier of how the modern service mesh
2010s, Twitter began work on Other highlights from the concept evolved, Phil Calçado has
the Scala-powered Finagle from history of the service mesh written a comprehensive article
which the Linkerd service mesh include the releases of Istio in "Pattern: Service Mesh.”
emerged. May 2017, Linkerd 2.0 in July
11
Service Mesh innovation by providers of Service mesh configuration, and workload
The InfoQ eMag / Issue #101 / December 2021
12
Exploring the (Possible) Future of Service Meshes
13
technologies is the need for used Linkerd and Chaos Mesh to features of a service mesh. NSM
The InfoQ eMag / Issue #101 / December 2021
application/service connectivity conduct chaos experiments for works with existing Container
from edge computing layer (IoT their project. Network Interface (CNI)
devices) to the mesh layer. implementations.
Service Mesh as a Service
Media Service Mesh Some service mesh vendors, like Service Mesh Extensions
Media Streaming Mesh or Media Buoyant, are offering managed Service mesh extensions is
Service Mesh, developed at Cisco service mesh or “service mesh another area that has been seeing
Systems, is used for orchestrating as a service” solutions. Earlier a lot of innovations. Some of the
real-time applications like this year, Buoyant announced developments in service mesh
multi-player gaming, multi-party the public beta release of a extensions include:
video-conferencing, or CCTV SaaS application called Buoyant
streaming using service mesh Cloud that allows the customer • enhanced identity
technologies on Kubernetes cloud organizations to take advantage management for securing
platform. These applications are of managed service mesh with microservices connectivity
moving more and more away the on-demand support features including custom certificate
from monolithic applications for the Linkerd service mesh. authority plugins
to microservices architectures.
• adaptive routing features
A service mesh can help the Some of the features offered
for higher availability and
applications by providing by the Buoyant Cloud solution
scalability of the services
capabilities like load balancing, include the following:
encryption, and observability. • enhancing sidecar proxies
• Automatic tracking of Linkerd
Chaos Mesh data plane and control plane Service Mesh Operations
Chaos Mesh, a CNCF hosted health Another important area of
project, is an open-source, service mesh adoption is in the
• Managing service mesh
cloud-native chaos engineering operations side of the service
lifecycles and versions across
platform for applications mesh lifecycle. The operational
pods, proxies, and clusters on
hosted on Kubernetes. Though aspects—such as configuring
Kubernetes platform
not a direct service mesh multi-cluster capabilities and
implementation, Chaos Mesh • SRE-focused tools including connecting Kubernetes workloads
enables Chaos Engineering service level objectives to servers hosted on VM
experiments by orchestrating (SLOs), workload golden infrastructure, and the developer
fault injection behavior into the metric tracking, and change portals to manage all the features
applications. Fault injection is a tracking and API in multi-cluster service
key capability of service mesh mesh installations—are going
technologies. Network Service Mesh (NSM) to play a significant role in the
Network Service Mesh (NSM), overall deployment and support
Chaos Mesh hides the underlying another Cloud Native Computing of service mesh solutions in
implementation details so the Foundation sandbox project, production.
application developers can focus provides a hybrid, multi-cloud
on the actual chaos experiments. IP service mesh. NSM enables
Chaos Mesh can be used along capabilities such as network
with a service mesh. Checkout service connectivity, security,
this use case on how the team and observability which are core
14
The InfoQ eMag / Issue #101 / December 2021
FAQ
FAQ
Service Mesh Frequently Asked Questions.
15
What is a service mesh? scaling service-to-service providing container orchestration
The InfoQ eMag / Issue #101 / December 2021
16
Typically the platform or occurred with Docker and
17
Additional Resources Data plane: A proxy that conditionally translates,
The InfoQ eMag / Issue #101 / December 2021
• The InfoQ eMag - Service Mesh: Past, Present, Docker: A Docker container image is a lightweight,
and Future standalone, executable package of software that
• The Service Mesh: What Every Software includes everything needed to run an application:
Engineer Needs to Know about the World’s Most code, runtime, system tools, system libraries and
Over-Hyped Technology settings.
18
MOSN: A Go-based proxy from the Ant Financial Traffic shifting: Migrating traffic from one location
North-South traffic: Network traffic entering Traffic Split: Allow users to incrementally direct
(or ingressing) into a data center, network, or percentages of traffic between various services.
Kubernetes cluster. Traditional network diagrams Used by clients such as ingress controllers or
were drawn with the ingress traffic entering the service mesh sidecars to split the outgoing traffic to
data center at the top of the page and flowing down different destinations.
(north to south) into the network.
The role of a modern software architect is
Proxy: A software system that acts as an continually shifting. To keep up-to-date on emerging
intermediary between endpoint components. patterns and technologies, subscribe to InfoQ's
Software Architects' newsletter. Each month, you'll
Segmentation: Dividing a network or cluster into receive essential news and experiences from
multiple sub-networks. industry peers on everything you need to know.
19
InfoQ @ InfoQ InfoQ InfoQ
Read recent
Curious aboutissues
previous issues?
The InfoQ eMag / Issue #77 / October 2019
Taming Complex
Systems in Production
@emilywithcurls
An Engineer’s Sustainable Operations Testing in
Guide to a Good in Complex Systems with Production—Quality
Night’s Sleep Production Excellence Software, Faster