SlideShare une entreprise Scribd logo
1  sur  25
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

Contenu connexe

Tendances

Intro to web services
Intro to web servicesIntro to web services
Intro to web services
Neil Ghosh
 
Oracle Service Bus vs. Oracle Enterprise Service Bus vs. BPEL
Oracle Service Bus vs. Oracle Enterprise Service Bus vs. BPELOracle Service Bus vs. Oracle Enterprise Service Bus vs. BPEL
Oracle Service Bus vs. Oracle Enterprise Service Bus vs. BPEL
Guido Schmutz
 

Tendances (20)

Understanding MicroSERVICE Architecture with Java & Spring Boot
Understanding MicroSERVICE Architecture with Java & Spring BootUnderstanding MicroSERVICE Architecture with Java & Spring Boot
Understanding MicroSERVICE Architecture with Java & Spring Boot
 
Soa chapter 5
Soa chapter 5Soa chapter 5
Soa chapter 5
 
Where and when to use the Oracle Service Bus (OSB)
Where and when to use the Oracle Service Bus (OSB)Where and when to use the Oracle Service Bus (OSB)
Where and when to use the Oracle Service Bus (OSB)
 
Introduction to Microservices
Introduction to MicroservicesIntroduction to Microservices
Introduction to Microservices
 
Intro to web services
Intro to web servicesIntro to web services
Intro to web services
 
SOAP vs REST
SOAP vs RESTSOAP vs REST
SOAP vs REST
 
Building .NET Microservices
Building .NET MicroservicesBuilding .NET Microservices
Building .NET Microservices
 
Introduction To Microservices
Introduction To MicroservicesIntroduction To Microservices
Introduction To Microservices
 
Microservice architecture design principles
Microservice architecture design principlesMicroservice architecture design principles
Microservice architecture design principles
 
Oracle Service Bus vs. Oracle Enterprise Service Bus vs. BPEL
Oracle Service Bus vs. Oracle Enterprise Service Bus vs. BPELOracle Service Bus vs. Oracle Enterprise Service Bus vs. BPEL
Oracle Service Bus vs. Oracle Enterprise Service Bus vs. BPEL
 
Web Services (SOAP, WSDL, UDDI)
Web Services (SOAP, WSDL, UDDI)Web Services (SOAP, WSDL, UDDI)
Web Services (SOAP, WSDL, UDDI)
 
Testing Microservices
Testing MicroservicesTesting Microservices
Testing Microservices
 
Serverless
ServerlessServerless
Serverless
 
WCF
WCFWCF
WCF
 
Quality Attributes In Software Architecture & Design Patterns
Quality Attributes In Software Architecture & Design PatternsQuality Attributes In Software Architecture & Design Patterns
Quality Attributes In Software Architecture & Design Patterns
 
Introduction to microservices
Introduction to microservicesIntroduction to microservices
Introduction to microservices
 
Java Web Services [1/5]: Introduction to Web Services
Java Web Services [1/5]: Introduction to Web ServicesJava Web Services [1/5]: Introduction to Web Services
Java Web Services [1/5]: Introduction to Web Services
 
SOA PRINCIPLES :2. Service Reusability
SOA PRINCIPLES :2. Service ReusabilitySOA PRINCIPLES :2. Service Reusability
SOA PRINCIPLES :2. Service Reusability
 
4b use-case analysis
4b use-case analysis4b use-case analysis
4b use-case analysis
 
SOA Princples : 7. service autonomy
SOA Princples : 7. service autonomySOA Princples : 7. service autonomy
SOA Princples : 7. service autonomy
 

Similaire à Concept of SOA

Improve_Application_Availability_and_Performance_Sales_Crib_Sheet.pdf
Improve_Application_Availability_and_Performance_Sales_Crib_Sheet.pdfImprove_Application_Availability_and_Performance_Sales_Crib_Sheet.pdf
Improve_Application_Availability_and_Performance_Sales_Crib_Sheet.pdf
منیزہ ہاشمی
 

Similaire à Concept of SOA (20)

Cooking soa
Cooking soaCooking soa
Cooking soa
 
Best Practices Building Cloud Scale Apps with Microservices
Best Practices Building Cloud Scale Apps with MicroservicesBest Practices Building Cloud Scale Apps with Microservices
Best Practices Building Cloud Scale Apps with Microservices
 
Over view of software artitecture
Over view of software artitectureOver view of software artitecture
Over view of software artitecture
 
ITI005En-SOA (II)
ITI005En-SOA (II)ITI005En-SOA (II)
ITI005En-SOA (II)
 
Delivering the Composable Enterprise
Delivering the Composable EnterpriseDelivering the Composable Enterprise
Delivering the Composable Enterprise
 
ServiceNow Tokyo Release- Aelumconsulting.pdf
ServiceNow Tokyo Release- Aelumconsulting.pdfServiceNow Tokyo Release- Aelumconsulting.pdf
ServiceNow Tokyo Release- Aelumconsulting.pdf
 
Service oriented architecture 27 May 2014
Service oriented architecture 27 May 2014Service oriented architecture 27 May 2014
Service oriented architecture 27 May 2014
 
Practical soa for business and researchers
Practical soa for business and researchersPractical soa for business and researchers
Practical soa for business and researchers
 
Three layer API Design Architecture
Three layer API Design ArchitectureThree layer API Design Architecture
Three layer API Design Architecture
 
Automating Applications with Habitat - Sydney Cloud Native Meetup
Automating Applications with Habitat - Sydney Cloud Native MeetupAutomating Applications with Habitat - Sydney Cloud Native Meetup
Automating Applications with Habitat - Sydney Cloud Native Meetup
 
From prototype to production - The journey of re-designing SmartUp.io
From prototype to production - The journey of re-designing SmartUp.ioFrom prototype to production - The journey of re-designing SmartUp.io
From prototype to production - The journey of re-designing SmartUp.io
 
Enterprise integration primer
Enterprise integration primerEnterprise integration primer
Enterprise integration primer
 
Exposing Business Functionalities with SOA, Integration and API Management
Exposing Business Functionalities with SOA, Integration and API ManagementExposing Business Functionalities with SOA, Integration and API Management
Exposing Business Functionalities with SOA, Integration and API Management
 
08 hopex v next service fabric
08 hopex v next   service fabric08 hopex v next   service fabric
08 hopex v next service fabric
 
Services oriented architecture
Services oriented architectureServices oriented architecture
Services oriented architecture
 
Open Digital Framework from TMFORUM
Open Digital Framework from TMFORUMOpen Digital Framework from TMFORUM
Open Digital Framework from TMFORUM
 
Aws dev ops saif ahmed
Aws dev ops   saif ahmedAws dev ops   saif ahmed
Aws dev ops saif ahmed
 
Ledingkart Meetup #1: Monolithic to microservices in action
Ledingkart Meetup #1: Monolithic to microservices in actionLedingkart Meetup #1: Monolithic to microservices in action
Ledingkart Meetup #1: Monolithic to microservices in action
 
Better application architecture with #microservices and #BPM (as APaaS)
Better application architecture with #microservices and #BPM (as APaaS)Better application architecture with #microservices and #BPM (as APaaS)
Better application architecture with #microservices and #BPM (as APaaS)
 
Improve_Application_Availability_and_Performance_Sales_Crib_Sheet.pdf
Improve_Application_Availability_and_Performance_Sales_Crib_Sheet.pdfImprove_Application_Availability_and_Performance_Sales_Crib_Sheet.pdf
Improve_Application_Availability_and_Performance_Sales_Crib_Sheet.pdf
 

Dernier

Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 

Dernier (20)

Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 

Concept of SOA

  • 1. SOAService-Oriented Architecture Divide and Conquer Sylvain Witmeyer - April 2015
  • 2. 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
  • 3. Monolithic vs SOA SOA UI Business Logic Data Access Layer DB Monolithic UI service service service service DB DB DB UI / worker
  • 5. 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
  • 6. Everything simple is fast. Everything which is complex is unusable. Paul Valéry
  • 7. 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
  • 8. 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
  • 9. SOA Design Principles ● Loosely coupled ● Autonomy ● Abstraction ● Reusability ● Discoverability ● Interoperability ● Service Contract ● Stateless ● Composibility-Granularity
  • 10. Service Contract Public document(s) that express terms of service (WSDL, REST API Doc) SERVICECONSUMER CONTRACT network
  • 11. Loosely Coupled Service and Consumer are independent SERVICE SERVICE INTERFACE - API CONSUMER CONSUMER SERVICE
  • 12. Autonomy Services encapsulate resources and Business Logic SERVICE Resources & logic SERVICE Resources & logic
  • 13. Service Abstraction Service hides the Logic to the consumer CONSUMER SERVICE Resources & Business logic network
  • 14. Reusability and Interoperability Services can be used by several and differents consumers SERVICE CONSUMER CONSUMER CONSUMER network
  • 15. 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).
  • 16. Discoverability ● Consumers should easily find and understand what Services are made for. ● Better Service reusability. ● Service directory.
  • 17. Service Composition A service can aggregate other services SERVICE SERVICE SERVICE BIG SERVICECONSUMER network network
  • 18. 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
  • 19. Why SOA fails From A Comprehensive Introduction to Everything SOA Mehmet Akyuz
  • 20. 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
  • 21. 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
  • 22. 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
  • 23. 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!
  • 24. Questions to solve ● Service authentication and authorization ? ● What should be included in each Service ? ● API versioning and Continuous Integration, how do they get along?