DevOps.com

  • Latest
    • Articles
    • Features
    • Most Read
    • News
    • News Releases
  • Topics
    • AI
    • Continuous Delivery
    • Continuous Testing
    • Cloud
    • Culture
    • DataOps
    • DevSecOps
    • Enterprise DevOps
    • Leadership Suite
    • DevOps Practice
    • ROELBOB
    • DevOps Toolbox
    • IT as Code
  • Videos/Podcasts
    • Techstrong.tv Podcast
    • Techstrong.tv Video Podcast
    • Techstrong.tv - Twitch
    • DevOps Unbound
  • Webinars
    • Upcoming
    • On-Demand Webinars
  • Library
  • Events
    • Upcoming Events
    • On-Demand Events
  • Sponsored Communities
    • CloudBees
    • IT as Code
    • Rocket on DevOps.com
    • Traceable on DevOps.com
    • Quali on DevOps.com
  • Related Sites
    • Techstrong Group
    • Container Journal
    • Security Boulevard
    • Techstrong Research
    • DevOps Chat
    • DevOps Dozen
    • DevOps TV
    • Techstrong TV
    • Techstrong.tv Podcast
    • Techstrong.tv Video Podcast
    • Techstrong.tv - Twitch
  • Media Kit
  • About
  • Sponsor
  • AI
  • Cloud
  • Continuous Delivery
  • Continuous Testing
  • DataOps
  • DevSecOps
  • DevOps Onramp
  • Practices
  • Low-Code/No-Code
  • IT as Code
  • More
    • Application Performance Management/Monitoring
    • Culture
    • Enterprise DevOps
    • ROELBOB

Home » Blogs » Microservices Explained: Not Your Father’s SOA

microservices MuleSoft feature LinearB

Microservices Explained: Not Your Father’s SOA

By: Mitch Ashley on October 11, 2022 Leave a Comment

Microservices are frequently referred to as a variant or derivative of service-oriented architecture (SOA), if not essentially the same thing. While there are similarities and both are designed around the concept of services, that’s where the similarities end. Each was created around a different set of principles and intended to address different problems.

Microservices architecture is built around key concepts that, when applied, not only differentiate it from other architectures but deliver advantages that accelerate software delivery and help to scale large, complex applications. To deliver on the promise of cloud-native, microservices must be loosely coupled so that, ultimately, they are independently deployable. Any microservice can be updated and deployed—just that containerized microservice—without requiring changes to other microservice(s). Loosely coupled microservices mean they are not sharing databases or maintaining state, for example.

Predict 2023Sponsorships Available

How big should a microservice be? Or, in other words, how much should it do? The answers range from ‘a single thing’ to ‘a small set of related code with high cohesion’. Another factor is that getting too granular can overrun a microservices-based application with large numbers of microservices, increasing complexity and making triage through observability and tracing very challenging.

Scaling microservices-based apps is another important factor. Autonomous microservices can be replicated and scaled for performance and workload using container orchestration tools such as Kubernetes.

Microservice communications are achieved through well-thought-out APIs created around the business or operational capabilities the microservice provides to anyone or anything engaging through the API. The API, and data provided through the API, are often referred to as ‘technology-independent.’ It’s probably better stated that microservice APIs are built using approaches like RESTful and GraphQL over networks that are not tied to any one specific operating environment, technology or programming language. JSON, YAML and XML similarly represent data that is transferable across technologies.

The following diagram of a media application demonstrates the principles of microservices architecture. Microservices for scheduling media, digital rights management, tracking impressions and adding new ad insertions are loosely coupled, autonomous and have well-defined API interfaces. Each microservice can be changed, enhanced and deployed rapidly and independently of other microservices.
Microservices SOA

Service-oriented Architecture, or SOA, emerged to solve a very different problem; the overwhelming size and complexity of monolithic applications. Monolithic applications have very large codebases that often don’t do a good job of compartmentalizing functional or business logic. This makes changes to the codebase challenging even to developers who know much of the codebase well.

Services in SOA were often used to gather a collection of similar business logic together and then share them as a service with other parts of the application, as needed. Technologies like message buses are used to make requests of a service and operate as traffic managers for requests across multiple services and other parts of the application. While reusability was a critical design consideration, SOA services were still quite large, and deploying services at high velocity was not an important design consideration. SOA services often take considerable time to code and test the service including interdependencies across other parts of the application before deploying as part of a larger software release.

One important note: There are benefits and drawbacks to microservices and SOA architectures; neither is ‘better’ than the other. Which architecture to use when mainly depends on the purpose of the application you are building. For larger, more complex enterprise application environments that require integration with many other applications, you might choose SOA. That’s a better fit than for smaller applications that don’t require middleware elements for managing the requests within the app or between other applications. Microservices, on the other hand, are better-suited for smaller and well-partitioned web-based systems. They are becoming the standard for today’s cloud-native applications, and also are a great fit for developing a mobile or web application because they give developers more control.

Recent Posts By Mitch Ashley
  • PingCAP’s Innovative TiDB Database – Techstrong.TV
  • Transforming Observability
  • DevOps World 2022: A DevOps Retrospective
More from Mitch Ashley
Related Posts
  • Microservices Explained: Not Your Father’s SOA
  • DevOps Debates: Monoliths or Microservices
  • Microservices define the next era of IT
    Related Categories
  • Application Performance Management/Monitoring
  • Blogs
  • Containers
  • Continuous Delivery
  • DevOps 101
  • DevOps Onramp
  • DevOps Practice
  • Features
    Related Topics
  • application architecture
  • application development
  • microservices
  • soa
Show more
Show less

Filed Under: Application Performance Management/Monitoring, Blogs, Containers, Continuous Delivery, DevOps 101, DevOps Onramp, DevOps Practice, Features Tagged With: application architecture, application development, microservices, soa

Sponsored Content
Featured eBook
The Automated Enterprise

The Automated Enterprise

“The Automated Enterprise” e-book shows the important role IT automation plays in business today. Optimize resources and speed development with Red Hat® management solutions, powered by Red Hat Ansible® Automation. IT automation helps your business better serve your customers, so you can be successful as you: Optimize resources by automating ... Read More
« Allstacks Adds Alert Capability to VSM Platform
5 Ways to Transform DataOps With Human-in-the-Loop Automation »

Techstrong TV – Live

Click full-screen to enable volume control
Watch latest episodes and shows

Upcoming Webinars

Minimizing the Troubleshooting Tax: 5 Tips to Increase DevOps Productivity
Monday, January 9, 2023 - 11:00 am EST
Shift Left: Observability-Driven Design
Tuesday, January 10, 2023 - 11:00 am EST
Getting Started With Infrastructure-as-Code (IaC) on AWS
Tuesday, January 10, 2023 - 1:00 pm EST

Latest from DevOps.com

Decidability: SLOs to Measure Quality Attributes
December 16, 2022 | Pawel Rusakiewicz
Salesforce Launches Low-Code DevOps Platform
December 15, 2022 | Mike Vizard
EU Data Privacy: Try Again | SkyPilot: Choose Cheapest Cloud | WFH: Better Meetings
December 15, 2022 | Richi Jennings
New Relic Extends Observability Reach to More DevOps Platforms
December 15, 2022 | Mike Vizard
Why Backups and Compliance Go Hand-in-Hand
December 15, 2022 | James Ciesielski

GET THE TOP STORIES OF THE WEEK

Download Free eBook

The 101 of Continuous Software Delivery
New call-to-action

Most Read on DevOps.com

Migration to AWS Cloud: Do’s and Don’ts
December 9, 2022 | Pavel Khrulev
Survey Surfaces Agile Development Challenges
December 9, 2022 | Mike Vizard
Codenotary Extends Dynamic SBOM Reach to Serverless Computin...
December 9, 2022 | Mike Vizard
5 Tips to Consider When Introducing Infrastructure Automatio...
December 12, 2022 | Bill Doerrfeld
Five Great DevOps Job Opportunities
December 12, 2022 | Mike Vizard

On-Demand Webinars

DevOps.com Webinar ReplaysDevOps.com Webinar Replays
  • Home
  • About DevOps.com
  • Meet our Authors
  • Write for DevOps.com
  • Media Kit
  • Sponsor Info
  • Copyright
  • TOS
  • Privacy Policy

Powered by Techstrong Group, Inc.

© 2022 ·Techstrong Group, Inc.All rights reserved.