SlideShare a Scribd company logo
SOAService-Oriented Architecture
Divide and Conquer
Sylvain Witmeyer - April 2015
Who uses SOA
● Ebay(2006) - 2Pb data - +100k lines code / 2
weeks
● IBM - 77 shareables and reusables services in
prod
● Amazon(2002) - all their infrastructure
● Twitter
● Facebook - via Apache Thrift
Monolithic vs SOA
SOA
UI
Business Logic
Data Access Layer
DB
Monolithic
UI
service service service
service
DB DB DB
UI / worker
http://java.dzone.com/articles/getting-soa-right---thinking
Service Oriented Architecture
● SOA is an Architecture for building businesses
applications on top of a collection of services
● Service : Functionality well-defined, self-contained, and
does not depend on the context or state of other
services
● Focus on Service not on Domain
Everything simple is fast.
Everything which is complex is unusable.
Paul Valéry
SOA Manifesto
● Business value over technical strategy
● Strategic goals over project-specific benefits
● Intrinsic interoperability over custom integration
● Shared services over specific-purpose implementations
● Flexibility over optimization
● Evolutionary refinement over pursuit of initial perfection
Highlights
● Less intimidating for new developers
● Continuous Deployment is easier
● Fine tuning for scaling the application
● Decrease commits conflicts
● No long-term commitment to a technology
SOA Design Principles
● Loosely
coupled
● Autonomy
● Abstraction
● Reusability
● Discoverability
● Interoperability
● Service Contract
● Stateless
● Composibility-Granularity
Service Contract
Public document(s) that express terms of service (WSDL,
REST API Doc)
SERVICECONSUMER
CONTRACT
network
Loosely Coupled
Service and Consumer are independent
SERVICE
SERVICE INTERFACE - API
CONSUMER
CONSUMER
SERVICE
Autonomy
Services encapsulate resources and Business Logic
SERVICE
Resources &
logic
SERVICE
Resources
& logic
Service Abstraction
Service hides the Logic to the consumer
CONSUMER SERVICE
Resources &
Business logic
network
Reusability and Interoperability
Services can be used by several and differents consumers
SERVICE CONSUMER
CONSUMER
CONSUMER
network
Stateless
● Service doesn’t care about what it did and
what it will do.
● Minimize holding any activity or processing
state Information (session data is bad,
messaging queue).
Discoverability
● Consumers should easily find and
understand what Services are made for.
● Better Service reusability.
● Service directory.
Service Composition
A service can aggregate other services
SERVICE
SERVICE
SERVICE
BIG SERVICECONSUMER
network
network
Task, Entity, Utility
Task Service
Business Service with
business task or process
i.e : AuthenticationService,
OrderValidationService
Utility Service
Non-business Service
i.e : LogService,
MessagingService
Entity Service
Service handling Business
Entities
i.e : UserService,
ProgramService
Why SOA fails
From A Comprehensive Introduction to Everything SOA
Mehmet Akyuz
SOA Governance
● Plan – Identify and analyze the core governance areas for improvement.
Establish objectives/plan and specific measures for a proposed
increment. Previously deployed increments are also evaluated for any
necessary improvement.
● Define – Define the SOA Governance Model Transition Plans required
to deliver the objectives defined in the Plan phase.
● Implement – Implement the Transition Plans including deployment of
processes, organization, and technology aspects of the SOA
Governance Model.
● Monitor – Monitor the effectiveness of the currently deployed SOA
Governance Regimen and whether it is meeting its intended purpose.
This phase may start another iteration of the SGVM.
https://www.opengroup.org/soa/source-book/gov/sgvm.htm
If you can’t measure something, you can’t understand it.
If you can’t understand it, you can’t control it.
If you can’t control it, you can’t improve it
H. James Harrington
Monitoring & Deployment
● Monitoring and QA are the same thing
● Amazon has a universal service registry where you can find
out reflectively (programmatically) about every service,
what its APIs are, and also whether it is currently up, and
where.
● Create a reusable dashboard
● Continuous Integration
Amazon Mandate by J.Bezos 2002
1) All teams will henceforth expose their data and functionality through service interfaces.
2) Teams must communicate with each other through these interfaces.
3) There will be no other form of interprocess communication allowed: no direct linking, no
direct reads of another team's data store, no shared-memory model, no back-doors
whatsoever. The only communication allowed is via service interface calls over the network.
4) It doesn't matter what technology they use. HTTP, Corba, Pubsub, custom protocols --
doesn't matter. Bezos doesn't care.
5) All service interfaces, without exception, must be designed from the ground up to be
externalizable. That is to say, the team must plan and design to be able to expose the interface
to developers in the outside world. No exceptions.
6) Anyone who doesn't do this will be fired.
7) Thank you; have a nice day!
Questions to solve
● Service authentication and authorization ?
● What should be included in each Service ?
● API versioning and Continuous Integration, how do they
get along?
Sources
http://soapatterns.org/
http://serviceorientation.com/
http://microservices.io/patterns/mic
roservices.html
http://fr.slideshare.net/makyuz/a-comprehensive-introduction-to-everything-soa
http://fr.slideshare.net/apigee/soa-in-the-api-world-facades-transactions-
stateless-services
https://plus.google.com/+RipRowan/posts/eVeouesvaVX

More Related Content

PPTX
Introduction to SOA
PPTX
Service Oriented Architecture
PPTX
Introduction to Microservices
PPTX
Service oriented architecture
PDF
Microservice Architecture
PPSX
Agile, User Stories, Domain Driven Design
PPTX
Introduction to microservices
PDF
Design patterns for microservice architecture
Introduction to SOA
Service Oriented Architecture
Introduction to Microservices
Service oriented architecture
Microservice Architecture
Agile, User Stories, Domain Driven Design
Introduction to microservices
Design patterns for microservice architecture

What's hot (20)

PPTX
Microservice vs. Monolithic Architecture
PDF
Microservices Design Patterns
PPTX
Introduction To Microservices
PDF
Microservice Architecture
PDF
Introduction to Spring Cloud
PPTX
Introduction to microservices
PDF
Introduction to Azure
PPTX
Service Oriented Architecture (SOA)
PPTX
Azure Introduction
PPTX
Sap Netweaver Portal
PPT
Introduction to Service Oriented Architecture
PDF
Microservice Architecture | Microservices Tutorial for Beginners | Microservi...
PDF
Building .NET Microservices
PDF
[오픈소스컨설팅] 서비스 메쉬(Service mesh)
PDF
The Layman's Guide to Microsoft Azure
PDF
Microsoft Azure Overview
PPTX
Azure-Interview-Questions-Slides.pptx
PPTX
Introduction to azure cosmos db
PDF
Advanced Load Balancer/Traffic Manager and App Gateway for Microsoft Azure
PPTX
Domain Driven Design
Microservice vs. Monolithic Architecture
Microservices Design Patterns
Introduction To Microservices
Microservice Architecture
Introduction to Spring Cloud
Introduction to microservices
Introduction to Azure
Service Oriented Architecture (SOA)
Azure Introduction
Sap Netweaver Portal
Introduction to Service Oriented Architecture
Microservice Architecture | Microservices Tutorial for Beginners | Microservi...
Building .NET Microservices
[오픈소스컨설팅] 서비스 메쉬(Service mesh)
The Layman's Guide to Microsoft Azure
Microsoft Azure Overview
Azure-Interview-Questions-Slides.pptx
Introduction to azure cosmos db
Advanced Load Balancer/Traffic Manager and App Gateway for Microsoft Azure
Domain Driven Design
Ad

Similar to Concept of SOA (20)

ODP
Service oriented architecture 27 May 2014
PPTX
SOA (Service Oriented Architecture)
PPT
soa ppt v7.ppt
PDF
SOA and DevOps v0.1
PPTX
Soa overview
PDF
SOA Next Generation V1.1
PPT
Service Oriented Architecture
PDF
CMAD Group Workbook 6 SOA
PPT
Future_of_Blockchain_Technology_Styled.pptx
PPT
Characteristics of SOA and benefits SOA
PPTX
Service oriented architecture characteristics of soa
PPT
SOA1-Background.ppt SOFTWARE ORIENTED SERVICES AND ARCHITECTURE
PDF
2010 Future Distributed Computing Architectures and SOA
PPT
Successful Approaches To Achieving Real Results With Soa
PPT
2007-11-slides 5.ppt in software development
PPTX
Service Oriented Architecture (SOA)
PDF
SOA unit-3-notes-Introduction to Service Oriented Architecture
PDF
Ijcse13 05-08-058
Service oriented architecture 27 May 2014
SOA (Service Oriented Architecture)
soa ppt v7.ppt
SOA and DevOps v0.1
Soa overview
SOA Next Generation V1.1
Service Oriented Architecture
CMAD Group Workbook 6 SOA
Future_of_Blockchain_Technology_Styled.pptx
Characteristics of SOA and benefits SOA
Service oriented architecture characteristics of soa
SOA1-Background.ppt SOFTWARE ORIENTED SERVICES AND ARCHITECTURE
2010 Future Distributed Computing Architectures and SOA
Successful Approaches To Achieving Real Results With Soa
2007-11-slides 5.ppt in software development
Service Oriented Architecture (SOA)
SOA unit-3-notes-Introduction to Service Oriented Architecture
Ijcse13 05-08-058
Ad

Recently uploaded (20)

PPTX
Geodesy 1.pptx...............................................
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PPTX
Sustainable Sites - Green Building Construction
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPT
Total quality management ppt for engineering students
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
737-MAX_SRG.pdf student reference guides
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Well-logging-methods_new................
PPT
Project quality management in manufacturing
PPT
Mechanical Engineering MATERIALS Selection
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PDF
Categorization of Factors Affecting Classification Algorithms Selection
Geodesy 1.pptx...............................................
UNIT-1 - COAL BASED THERMAL POWER PLANTS
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
III.4.1.2_The_Space_Environment.p pdffdf
Sustainable Sites - Green Building Construction
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Total quality management ppt for engineering students
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
737-MAX_SRG.pdf student reference guides
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
UNIT 4 Total Quality Management .pptx
Well-logging-methods_new................
Project quality management in manufacturing
Mechanical Engineering MATERIALS Selection
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
Categorization of Factors Affecting Classification Algorithms Selection

Concept of SOA