michaela-damm.jpg
blocshop
September 25, 2020
0 min read

SOA versus microservices: 6 big differences explained

SOA versus microservices: 6 big differences explained.jpeg

What is Service-oriented architecture (SOA)?

Service-oriented architecture (SOA) debuted in the 1990s. Its goal was to address the problem of ever-growing codebases and complex systems. The idea was to break these up into components that would deal with specific business objectives. Focused on the enterprise level, SOA is based on the concept of reusing software and code to avoid waste.

What are microservices?

Microservices architecture can, at first glance, seem very similar to SOA. It also has the goal of breaking up monolithic applications into components. A core difference is that microservices do not need to fulfill enterprise-wide requirements. Each microservice does what it does and does it well, without worrying about how it fits into the bigger picture.

Read about how to convert a monolith to microservices in this article.

What are the advantages of microservices architecture over SOA?

Microservices architecture in some ways evolved from SOA, or at least was able to learn from the mistakes made, and benefit from new practices and technology, including agile approaches to software development.

Microservices are faster, more robust and reliable, easier to deploy and scale, and just plain leaner than any SOA. Teams are small and independent and there is a refreshing lack of interdependencies that lives up to the initial dream of SOA and takes it to a new level.

Read on for six reasons why the microservices of today are nothing like the SOA of yesterday.

6 big differences between SOA and microservices

1. Communication

How SOA and microservices architecture communicate is one of the starkest illustrations of the differences between them. Each service in SOA must use the enterprise service bus (ESB) to communicate with other services. This should standardize and simplify communications with a single, centrally managed system. But it also means that the ESB acts as a bottleneck to development, with updates and integrations for components ending up queued. Microservices instead use an API layer, an approach that relies on simpler, and quicker, exchanges of information between separate components.

2. Granularity

The services in SOAs can be big or they can be small. They can even be massive and shared across the entire enterprise. SOAs were never designed to be as small as possible, so the services used can be considered coarse-grained in terms of granularity. Both the scope and size of the service can be vast, with shared databases, and multiple interdependencies. On the contrary, microservices are designed to be highly focused and fine-grained. Small teams, faster onboarding for new hires, fewer potential points of failure.

3. Coupling and cohesion

When you have small, specialized services, you can afford to have low coupling and high cohesion. Each microservice is based on the idea of “bounded context”, in other words, it is self-contained, with as little sharing of components, data, or interdependencies as possible.  This results in high cohesion, which means that the origin of problems can be rapidly identified as arising from a specific microservice. This component can then be isolated and fixed. In SOAs, despite the stated goal of loose coupling, the sharing ethos proves to be a vulnerability. Not only can there be an impact on speed, but faults can be harder to trace and fix.

4. Reuse

Reuse of components is built into the philosophy behind SOA, with shared services prioritized in importance over highly specialized implementations. Because of the enterprise-level focus of SOA, sharing is evaluated as reducing waste, saving time and money. Unfortunately, this misses out on a big part of the whole picture, where sharing also creates vulnerable interdependencies and slows down development. Microservices take into account that it is usually better to work with smaller components and keep everything separate. If you reuse something designed for another purpose, not only will you be dependent on its development schedule, your component will fail when it fails. If microservices need to reuse code, the preference is to duplicate it and disconnect its development from the original.

5. Data duplication and storage

Building on the concept of reuse, SOA usually prefers to share data. This extends to the sharing of databases between components. All services must access and change data that is effectively stored in a central source. This reduces the need to duplicate data, but it can result in speed problems and inevitably leads to interdependencies between services, as there must be agreed-upon protocols for how the data is stored and accessed. In contrast, microservices use whatever data storage is best suited to the task and aren’t shy about duplicating data whenever necessary. While this can add complexity in terms of data management and keeping everything up to date, the speed boosts of having local or exclusive access to data mean that microservices again win out over SOA.

6. Deployment

The focus on keeping microservices separate and small means that the teams can be smaller. These independent teams can work at differing paces and deploy their modules without worrying about the deployment schedules of other teams. They can even progress to continuous deployment, with the feature and bugfix pipelines reaching the end-user much faster than ever before. SOAs, on the other hand, suffer from the kind of deployment issues that plague monolithic systems. If you add or change a service, the entire application needs to be redeployed.

Are microservices a subset of SOA?

Both service-oriented architecture and microservices deal with the concept of converting monoliths into discrete modules. SOA came first, so it might seem natural to think of microservices as a subset of its predecessor. But SOA was designed to enable different applications of varying sizes to communicate, whereas microservices come together to form a network of small modules that can be considered an application. SOA is in some ways still stuck in the mindset of the monolithic era, with coarse-grained, big services that are designed to share a lot of functionality. Microservices are leaner, more independent, and fine-grained. One way to think of the relationship between the two is that microservices architecture learned from the shortcomings of SOA and managed to deliver the promise of truly breaking apart monolithic applications.

How Blocshop can make microservices work for you

Blocshop has been breaking monoliths into microservices since the software architectural style got its name in 2012. We know our microservices and we can walk you through the process of deciding how to make them work for you. Contact us today for a project estimate or even if you just need something explained.

Free ebook: From monolith to microservices

From monolith to microservices (ebook): How to break a monolith application into microservices.png

Learn more from our insights

roro665_Best_Practices_for_Integrating_AI_in_Fintech_Projects_937218e6-8df0-49aa-9a1a-061228aba978_3.png
December 03, 2024

AI-Driven ETL Tools Market: A Comprehensive Overview

Explore AI-driven ETL tools like Databricks, AWS Glue, and Roboshift, tailored for automation, data quality, and compliance in regulated sectors.

roro665_Best_Practices_for_Integrating_AI_in_Fintech_Projects_76570294-b2df-4e1d-a775-bdc646351d08_2 (1).png
November 19, 2024

Introducing Roboshift: AI-Powered ETL and Data Processing for Compliance in Regulatory Industries

Discover Roboshift, the AI-driven ETL solution by Blocshop, designed for secure, efficient data processing in fintech, banking, and other regulatory industries.

roro665_Best_Practices_for_Integrating_AI_in_Fintech_Projects_76570294-b2df-4e1d-a775-bdc646351d08_1 (1).png
October 16, 2024

Best practices for integrating AI in fintech projects

Discover 8 key steps for AI implementation in fintech and open banking with a focus on compliance, data quality, bias, and ethics.

roro665_Extract_Transform_Load_process_for_data_that_is_power_8734b36d-5737-4fdb-904e-ea6bca40c51b_3.png
October 09, 2024

Real-life examples of generative AI products and applications

See real-life examples of generative AI products and applications developed by Blocshop that impact industries from retail to fintech.

roro665_data_transformation_from_one_format_to_another_with_g_91332f66-93b0-48d8-9d5e-a8609529cbb7_3.png
September 25, 2024

Generative AI-powered ETL: A Fresh Approach to Data Integration and Analytics

ETL meets generative AI. See how AI-powered ETL redefines data integration and brings more flexible data processing and analytics across industries.

roro665_uk_pensions_dashboard_reform_magazine_cover_collage_-_1888e056-80f6-4aac-958c-bf02b128a7d3_1.png
September 03, 2024

UK Pensions Dashboard Compliance: Deadlines, Transition Steps, and the Use of AI-driven Data Mapping

How AI-driven data mapping can support UK Pensions Dashboard compliance. Understand key deadlines and steps for efficient data conversion and transition to the UK Pensions Dashboard.

roro665_a_cover_image_depicting_data_conversions_and_compliance_c8ddf35a-cc0f-447a-abb7-0f4b1f14bb64 (1).png
August 23, 2024

Using AI for data conversion and compliance in the banking sector

Discover how AI transforms data conversion and compliance in the banking industry, optimizing processes while managing risks.

ai_applications_in_banking_and_banking_technology_blocshop.png
August 14, 2024

AI Applications in Banking: Real-World Examples

Explore how major banks are using AI to enhance customer service, detect fraud, and optimize operations, with insights into technical implementations.

20221116_153941.jpg
July 31, 2024

From Concept to MVP in Just 12 Weeks with Blocshop

Blocshop delivers your MVP in 12 weeks, solving real pain points with agile sprints, daily scrum meetings, and fortnightly reviews. Here's the process explained.

chatgpt4_ai_integration_blocshop-transformed.png
July 19, 2024

ChatGPT-4: An Overview, Capabilities, and Limitations

The technical aspects, usage scenarios, and limitations of ChatGPT-4, including a comparison with ChatGPT-4o.

roro665_depict_a_data_sample_thta_completely_changes_its_form_725a4f20-ea40-4dd1-a68d-5c4327c9bf24_1.png
June 20, 2024

Generative AI used for data conversions and reformatting

How to use generative AI for data conversion, addressing integrity, hallucinations, privacy, and compliance issues with effective validation and monitoring strategies.

DALL·E 2024-05-30 09.37.01 - An illustration suitable for an article about ISO 20022. The scene should feature a modern, sleek representation of the ISO 20022 logo in the center. .webp
May 28, 2024

ISO 20022 Explained: A Comprehensive Guide for Financial Institution Managers

What is ISO 20022? How does it affect companies and institutions in the fintech and banking industry and how to prepare for its adoption? All explained in this article.

DALL·E 2024-05-22 20.55.08 - A detailed and high-quality DSLR photo of a person using a laptop to shop online, showing personalized product recommendations on the screen. The back.webp
May 16, 2024

Key AI Trends in E-commerce and Overview of AI integrations for E-commerce Platforms in 2024

Transform your e-commerce platform with AI tools for personalization, analytics, chatbots, search, and fraud detection. Boost sales and improve customer experiences.

eIDAS mark.png
May 09, 2024

Digital Identity and Payment Services in the EU in 2024: Key Updates

eIDAS 2.0 and PSD3 are set to enhance how digital identities and payment services are managed across the European Union in 2024. Here’s an overview of how each framework contributes to the digital landscape of the EU, what to expect, and how to prepare.

eIDAS 2 in fintech and open banking EU market.png
May 06, 2024

What is eIDAS 2.0 and EU Digital Identity Wallet and how will it change the EU digital market

Learn how eIDAS 2.0 and the EU Digital Identity Wallet will transform digital transactions and identity management across the European Union.

best large language models for ERP systems.png
March 31, 2024

Language Models Best Suited for Integration into ERPs

Four prominent large language models stand out for their compatibility and effectiveness in ERP system processes and automation. See what they are.

PSD3 in open banking Blocshop.png
April 23, 2024

PSD2 vs. PSD3: The Evolution of Payment Services Regulation

What is PSD3 in open banking? See how PSD3 compares to PSD2 and what should banks and fintech businesses do to ensure regulatory compliance in the EU market.

roro665_hands_working_with_a_laptop_in_a_modern_office_there_is_20dca307-c993-4539-99d7-fd5ca264248c.png
April 14, 2024

Enhancing ERP Systems with AI Chatbots

Explore how AI chatbots can transform ERP systems, enhancing efficiency, decision-making, and user interaction.

eIDAS in fintech and open banking EU market.png
April 29, 2024

eIDAS: The regulation helping secure Europe's digital future

See how eIDAS enhances EU digital transactions with secure identity verification, supporting e-commerce and public services across Europe.

hybrid ERPs.png
March 21, 2024

Hybrid ERP: An Innovative Approach to Enterprise Resource Planning

Hybrid ERP is a blend of cloud and on-premise solutions. With expertise in both, Blocshop is uniquely positioned to help you with hybrid ERP development and implementation.