DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workkloads.

Secure your stack and shape the future! Help dev teams across the globe navigate their software supply chain security challenges.

Releasing software shouldn't be stressful or risky. Learn how to leverage progressive delivery techniques to ensure safer deployments.

Avoid machine learning mistakes and boost model performance! Discover key ML patterns, anti-patterns, data strategies, and more.

Related

  • Build a Stateless Microservice With GitHub Copilot in VSCode
  • From Prompt to Running Microservice: ServiceBricks Step-By-Step
  • Dropwizard vs. Micronaut: Unpacking the Best Framework for Microservices
  • Micro-Frontends in a Microservice Architecture

Trending

  • My LLM Journey as a Software Engineer Exploring a New Domain
  • Kubeflow: Driving Scalable and Intelligent Machine Learning Systems
  • *You* Can Shape Trend Reports: Join DZone's Software Supply Chain Security Research
  • Automatic Code Transformation With OpenRewrite
  1. DZone
  2. Data Engineering
  3. Data
  4. Microservices and Service Mesh at A Glance

Microservices and Service Mesh at A Glance

Check out the breakdown of microservices and service mesh architecture, as well as explanation of why enterprises uses them and their characteristics.

By 
Sudheeran Mohanan user avatar
Sudheeran Mohanan
·
Apr. 30, 20 · Tutorial
Likes (8)
Comment
Save
Tweet
Share
8.9K Views

Join the DZone community and get the full member experience.

Join For Free

What Is a Service Mesh?

As enterprises are moving from monolithic to microservices/distributed microservices to achieve more resiliency and performance, service mesh has a key role in that kind of digital transformation.

A service mesh is a dedicated infrastructure layer for handling service-to-service communication. It’s responsible for the reliable delivery of requests through the complex topology of services that comprise a modern, cloud-native application. In practice, the service mesh is typically implemented as an array of lightweight network proxies that are deployed alongside application code, without the application needing to be aware. Service mesh has mainly two major components — the control plane and the data plane, which decouples the business logic from technical complexities.

Service meshes abstract away how inter-process communications are handled. A service mesh allows you to separate the business logic of the application from observability, and network and security policies. Sample Microservices Architecture

Sample Microservices Architecture


Why Choose a Service Mesh?

As all the enterprises are moving towards microservices and cloud-native architectures, it is important to understand and act, when the monolithic legacy systems are broken into multiple services, where you will be having over 1,000+ microservices in place to make your enterprise systems as a whole.

To follow a microservice-based architecture with an API-first approach as well as resiliency and scalability on the other side, you also need service orchestration behind the scene in a distributed nature.

A service mesh is a pattern or solution you can choose for such scenarios where you want to manage and operate with a huge number of microservices. With the distributed nature of application landscape, service discovery and general application composition become extremely complex.

In the context of ESB/APIM for distributed microservices, most of the service orchestration falls on load balancers and the API gateway making them a bottleneck and which leads to a single point of failure.

When these kinds of problems amplify as service distribution span across different clouds (multi-cloud), containers, and on-premise platforms, service mesh becomes more significant.

Service Mesh Allows

  • Management of all services, as and when they grow in a number of sizes.
  • Provide efficient communication between them.
  • Handling of network failures.
  • It abstracts the mechanics of reliably delivering requests/responses between any number of services.
  • To provide end-to-end performance and reliability.
  • It provides a uniform, application-wide point introducing visibility and control into the application runtime.
  • Provide telemetry info from proxy containers.

Capabilities and Characteristics of Service Mesh

  Key Capabilities of Service Mesh
Key Capabilities of Service Mesh

Characteristics of Service Mesh

  • Distributed in size.
  • Controlled by the control plane.
  • Provides all networking such as routing, monitoring through software components (Handled by APIs).
  • Decrease operational complexity.
  • Provides abstraction layer at the top of Microservices, distributed across various clusters,
  • Multi data-centers or Multi-Cloud.
  • Decentralized.
  • Almost zero latency as the proxies is lightweight.
  • Proxy sidecars injected dynamically inside the deployment.

Data Plane and Control Plane

Service mesh data plane: Touches every packet/request in the system. Responsible for service discovery, health checking, routing, load balancing, authentication/authorization, and observability.

Service mesh control plane: Provides policy and configuration for all of the running data planes in the mesh. It does not touch any packets/requests in the system. The control plane turns all of the data planes into a distributed system.

Data plane in service mesh is responsible for: Responsibilities of data plane

Responsibilities of data plane



Control plane in service mesh is responsible for:

 Control plane responsibilities

Control plane responsibilities


Enterprises are moving from current SOA architecture-as is to MSA/CNA architecture base for future has to think of various aspects, where service mesh will be the best fit, we will see that in the next part like Service in the context of moving from SOA to Microservices, API gateway vs Service Mesh, ESB to ESM approach, etc.

microservice

Published at DZone with permission of Sudheeran Mohanan. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Build a Stateless Microservice With GitHub Copilot in VSCode
  • From Prompt to Running Microservice: ServiceBricks Step-By-Step
  • Dropwizard vs. Micronaut: Unpacking the Best Framework for Microservices
  • Micro-Frontends in a Microservice Architecture

Partner Resources

×

Comments
Oops! Something Went Wrong

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!