SlideShare a Scribd company logo
1 of 29
Principles OF
SOAFrom knowledge
To practice
SUBMITTED BY : MOHAMED ZAKARYA
AGENDA
 Service orientation principles
 Standardized Service Contract
 Service Reusability
 Service Discoverability
 Service Composability
 Service Loose Coupling
 Service Abstraction
 Service Autonomy
 Service Statelessness
 Thanks 
PART 1
INTRODUCTION
SERVICE ORIENTATION PRINCIPLES
Standardized
Service
Contract
Service
Reusability
Service
Composability
Service
Autonomy
Service
Loose
Coupling
Service
Statelessness
Service
Abstraction
Service
Discoverability
SERVICE ORIENTATION PRINCIPLES
Service Reusability
Service contain agnostic logic that can be position as reusable enterprise resource.
Standardized Service Contract
Service in same inventory are in compliance of same design service contract standards.
Service Composition
Services are effective composition participants.
Service Discoverability
Service meta data available for discoverability and interpreted.
Service Loose Coupling
Contract decoupled from surrounding environment.
Service Autonomy
Services exercise a high level of control over their underlying runtime execution environment.
Service Statelessness
Services minimize resource consumption , reduce state information.
Service Abstraction
Contract contains only essential information , that is published to consumers.
PART 1
SERVICE
STATLESSNESS
INTRODUCTION
Service Statelessness
Services minimize resource consumption , reduce state information.
Purpose :
To maximize service scalability ,
services and their surrounding architecture can be
designed to support the delegation and
deferral of state management responsibilities
EXAMPLE
State refers to general condition of something.
A car that is moving is in a state of motion ( active) ,
whereas a car that is not moving is in a stationary state ( passive)
Software program can also have and transition
through different states usually because of its involvement in a runtime activity.
STATE CONDITIONS / DATA TYPES
Each state can be represented and described by data that has lifespan
equivalent to duration at which program remains active
state management can be considered management of temporary, activity-specific data.
PRIMARY STATE ( ACTIVE / PASSIVE )
Two basic states a car was capable of having: in motion and stationary.
Active state
Service being invoked or executed and therefore entering an active state.
Passive state
Period during which service is not in use. Exists in a passive or [non-active] state.
PRIMARY STATE CONDITIONS ( STATEFUL , STATELESS )
There are types to represent specific state of active conditions [runtime condition of a service]
stateless state (idle condition)
Active service but may not be engaged in processing of state data
EX : http protocol when server respond to requested web page
stateful state
Service that is actively processing or retaining state data
TYPE OF STATE INFORMATION ( SESSION / CONTEXT / BUSINESS)
State data is information primarily associated with a current activity,
Business
 information related to business task currently executing.
 EX : records return from database query stored in memory
for future needs
Context
 Information about a particular service activity
 The larger complex a service composition, the more context
information will generally need to be managed
 Types : context data and context rules (work flow rules)
Session
 Represents information associated with retaining a connection made
between a program and its client program
 Ex : web site session
CONTEXT TYPES
Context rule
Protocols and constraints applied to the execution of a specific
[Service activity Workflow rules that govern processing of activity]
EX :
 Allowable duration of the service activity
 Allowable quantity of service activity instances
 Allowable quantity of participating services
Context data
Information beyond service and considered as part of a current service activity
EX :
 Quantity of services currently participating in an activity
 Which services are currently active and which were active in
the service activity
 The duration of the service activity
 How many instances of the activity are currently in execution
ORIGIN OF STATE MANAGEMENT (TWO-TIER)
ORIGIN OF STATE MANAGEMENT ( THREE TIER)
ORIGIN OF STATE MANAGEMENT ( THREE TIER)
Concurrently accessed server-side program becoming a performance bottleneck is very real
ORIGIN OF STATE MANAGEMENT
A separate database positioned as a state management deferral extension of the architecture
SERVICE ORIENTATION AND STATE MANAGEMENT
service-orientation places on reuse, state management becomes a greater concern.
DEFERRAL VS. DELEGATION
Deferral
The temporary relocation of state information is referred to as state deferral
Delegation
To accomplish state management deferral we temporarily delegate this responsibility
to another part of the architecture (such as a database).
Therefore, we achieve state management deferral through temporary and periodic
state management delegation.
ABOUT THE PRINCIPLE
Title
Services minimize statefulness
Description
Services minimize resource consumption by deferring the management of state information
when necessary.
Goals
Implementation requirements
Performance demands associated with runtime retrieval and interpretation of deferred state data.
Increase service scalability.
Improve the potential for service reuse.
STATE MANAGEMENT DEFERRAL SAMPLE TYPES
Non-Deferred State Management (low-to-no statelessness)
Partially Deferred Memory (reduced statefulness)
Partial Architectural State Management Deferral (moderate statelessness)
Full Architectural State Management Deferral (high statelessness)
Internally Deferred State Management (high statelessness)
1. NON-DEFERRED STATE MANAGEMENT (LOW-TO-NO STATELESSNESS)
 Increased amount of state management processing can inhibit scalability
 Remain active for the duration of its participation in the overall activity
 Service does not require an external state deferral extension
 Service does not form a direct dependency on its surrounding architecture.
2. PARTIALLY DEFERRED MEMORY (REDUCED STATEFULNESS)
 Service capability can be designed to defer state data without having to switch
between stateless and stateful conditions.
 Designed to off-load portions of this data during periods where the data is not required.
 Typically deferred business data , retain context data and session data
3. PARTIAL ARCHITECTURAL STATE MANAGEMENT DEFERRAL
 During longer running activities,
 service will be transitioned into stateless modes during these gaps of inactivity
 service is not designed to take advantage of every possible opportunity to become stateless
4. FULL ARCHITECTURAL STATE MANAGEMENT DEFERRAL
 The service capabilities are designed to maximize any reasonable opportunity to become stateless
 Off-load state information (primarily context and business data) while stateful whenever possible
is also leveraged
5. INTERNALLY DEFERRED STATE MANAGEMENT
 Achieved the absolute isolation level of pure autonomy
[Service environment is isolated and firmly in our control] .. (isolated services)
 Internal state deferral option. This is commonly implemented via a dedicated database
that the service can use to store and retrieve temporary activity data
 Maximize its existence in a stateless condition.
REFERENCES
http://www.soaschool.com/
http://serviceorientation.com/index.php/soaglossary/index
http://soapatterns.org/
http://www.servicetechmag.com/
http://www.soaschool.com/certifications
http://www.servicetechbooks.com/
ANY QUESTIONS
THANKS
ENJOY SOA .. WAIT FOR NEXT
MAIL: ENG.MOHAMEDZAKARYA@GMAIL.COM

More Related Content

What's hot

Service Oriented Architecture
Service Oriented ArchitectureService Oriented Architecture
Service Oriented ArchitectureRobert Sim
 
Service Oriented Architecture (SOA)
Service Oriented Architecture (SOA)Service Oriented Architecture (SOA)
Service Oriented Architecture (SOA)Mazhar Ishaq Khokhar
 
Introduction to Oracle Cloud Infrastructure Services
Introduction to Oracle Cloud Infrastructure ServicesIntroduction to Oracle Cloud Infrastructure Services
Introduction to Oracle Cloud Infrastructure ServicesKnoldus Inc.
 
Service-Oriented Architecture (SOA)
Service-Oriented Architecture (SOA)Service-Oriented Architecture (SOA)
Service-Oriented Architecture (SOA)WSO2
 
Cloud Computing and Service oriented Architecture
Cloud Computing and Service oriented Architecture Cloud Computing and Service oriented Architecture
Cloud Computing and Service oriented Architecture Ravindra Dastikop
 
Cloud Computing & Cloud Architecture
Cloud Computing & Cloud ArchitectureCloud Computing & Cloud Architecture
Cloud Computing & Cloud Architecturenotnip
 
Monoliths and Microservices
Monoliths and Microservices Monoliths and Microservices
Monoliths and Microservices Bozhidar Bozhanov
 
Creating the Cloud Business Case
Creating the Cloud Business CaseCreating the Cloud Business Case
Creating the Cloud Business CaseAmazon Web Services
 
Introduction to Service Oriented Architecture
Introduction to Service Oriented ArchitectureIntroduction to Service Oriented Architecture
Introduction to Service Oriented ArchitectureDATA Inc.
 
Kubernetes on AWS with Amazon EKS
Kubernetes on AWS with Amazon EKSKubernetes on AWS with Amazon EKS
Kubernetes on AWS with Amazon EKSAmazon Web Services
 
SOA Service Oriented Architecture
SOA Service Oriented ArchitectureSOA Service Oriented Architecture
SOA Service Oriented ArchitectureVinay Rajadhyaksha
 
Service oriented architecture
Service oriented  architectureService oriented  architecture
Service oriented architecturePratik Patil
 
AWS Security Week: AWS Secrets Manager
AWS Security Week: AWS Secrets ManagerAWS Security Week: AWS Secrets Manager
AWS Security Week: AWS Secrets ManagerAmazon Web Services
 
From Monolithic to Microservices
From Monolithic to Microservices From Monolithic to Microservices
From Monolithic to Microservices Amazon Web Services
 

What's hot (20)

Introduction to SOA
Introduction to SOAIntroduction to SOA
Introduction to SOA
 
Service Oriented Architecture
Service Oriented ArchitectureService Oriented Architecture
Service Oriented Architecture
 
Service Oriented Architecture (SOA)
Service Oriented Architecture (SOA)Service Oriented Architecture (SOA)
Service Oriented Architecture (SOA)
 
Oracle Cloud Infrastructure
Oracle Cloud InfrastructureOracle Cloud Infrastructure
Oracle Cloud Infrastructure
 
Service Oriented Computing - Session1 : Intro
Service Oriented Computing - Session1 : IntroService Oriented Computing - Session1 : Intro
Service Oriented Computing - Session1 : Intro
 
Running Kubernetes on AWS.pdf
Running Kubernetes on AWS.pdfRunning Kubernetes on AWS.pdf
Running Kubernetes on AWS.pdf
 
Introduction to Oracle Cloud Infrastructure Services
Introduction to Oracle Cloud Infrastructure ServicesIntroduction to Oracle Cloud Infrastructure Services
Introduction to Oracle Cloud Infrastructure Services
 
Service-Oriented Architecture (SOA)
Service-Oriented Architecture (SOA)Service-Oriented Architecture (SOA)
Service-Oriented Architecture (SOA)
 
Cloud Computing and Service oriented Architecture
Cloud Computing and Service oriented Architecture Cloud Computing and Service oriented Architecture
Cloud Computing and Service oriented Architecture
 
Cloud Computing & Cloud Architecture
Cloud Computing & Cloud ArchitectureCloud Computing & Cloud Architecture
Cloud Computing & Cloud Architecture
 
Monoliths and Microservices
Monoliths and Microservices Monoliths and Microservices
Monoliths and Microservices
 
Creating the Cloud Business Case
Creating the Cloud Business CaseCreating the Cloud Business Case
Creating the Cloud Business Case
 
Introduction to Service Oriented Architecture
Introduction to Service Oriented ArchitectureIntroduction to Service Oriented Architecture
Introduction to Service Oriented Architecture
 
Kubernetes on AWS with Amazon EKS
Kubernetes on AWS with Amazon EKSKubernetes on AWS with Amazon EKS
Kubernetes on AWS with Amazon EKS
 
SOA Service Oriented Architecture
SOA Service Oriented ArchitectureSOA Service Oriented Architecture
SOA Service Oriented Architecture
 
Google App Engine
Google App EngineGoogle App Engine
Google App Engine
 
Service oriented architecture
Service oriented  architectureService oriented  architecture
Service oriented architecture
 
AWS Security Week: AWS Secrets Manager
AWS Security Week: AWS Secrets ManagerAWS Security Week: AWS Secrets Manager
AWS Security Week: AWS Secrets Manager
 
From Monolithic to Microservices
From Monolithic to Microservices From Monolithic to Microservices
From Monolithic to Microservices
 
AWS Service Catalog
AWS Service CatalogAWS Service Catalog
AWS Service Catalog
 

Similar to Principles of SOA: Services Minimize Statefulness

02 Service Oriented Architecture Series - SOA Concepts
02 Service Oriented Architecture Series - SOA Concepts02 Service Oriented Architecture Series - SOA Concepts
02 Service Oriented Architecture Series - SOA ConceptsPouria Ghatrenabi
 
unit 5 cloud.pptx
unit 5 cloud.pptxunit 5 cloud.pptx
unit 5 cloud.pptxMrPrathapG
 
Odca interop across_clouds_standard units of measurement for iaa_s
Odca interop across_clouds_standard units of measurement for iaa_sOdca interop across_clouds_standard units of measurement for iaa_s
Odca interop across_clouds_standard units of measurement for iaa_sSeanscs
 
Service Oriented Architecture
Service Oriented ArchitectureService Oriented Architecture
Service Oriented ArchitectureSandeep Ganji
 
1)Coupling-   It is applicable on different elements of a service.pdf
1)Coupling-   It is applicable on different elements of a service.pdf1)Coupling-   It is applicable on different elements of a service.pdf
1)Coupling-   It is applicable on different elements of a service.pdfaptind
 
Microsoft SQL High Availability and Scaling
Microsoft SQL High Availability and ScalingMicrosoft SQL High Availability and Scaling
Microsoft SQL High Availability and ScalingJustin Whyte
 
Service Level Agreement
Service Level AgreementService Level Agreement
Service Level Agreementdlfrench
 
E-Services course Chapter II ISI by Ettaieb Abdessattar
E-Services course Chapter II ISI by Ettaieb AbdessattarE-Services course Chapter II ISI by Ettaieb Abdessattar
E-Services course Chapter II ISI by Ettaieb AbdessattarAbdessattar Ettaieb
 
Cloud application services (saa s) – multi tenant data architecture
Cloud application services (saa s) – multi tenant data architectureCloud application services (saa s) – multi tenant data architecture
Cloud application services (saa s) – multi tenant data architectureJohnny Le
 
Service-oriented architecture (SOA) is a method of software development that ...
Service-oriented architecture (SOA) is a method of software development that ...Service-oriented architecture (SOA) is a method of software development that ...
Service-oriented architecture (SOA) is a method of software development that ...ssuser0d0f881
 
Templateplanodedisponibilidadedosservios 120602150709-phpapp02
Templateplanodedisponibilidadedosservios 120602150709-phpapp02Templateplanodedisponibilidadedosservios 120602150709-phpapp02
Templateplanodedisponibilidadedosservios 120602150709-phpapp02Ismael Rodrigues
 
SDN Federation White Paper
SDN Federation White PaperSDN Federation White Paper
SDN Federation White PaperBrian Hedstrom
 
Service oriented architecture & web 2.0
Service oriented architecture & web 2.0Service oriented architecture & web 2.0
Service oriented architecture & web 2.0Abhik Tushar Das
 
Study on Use Case Model for Service Oriented Architecture Development
Study on Use Case Model for Service Oriented Architecture DevelopmentStudy on Use Case Model for Service Oriented Architecture Development
Study on Use Case Model for Service Oriented Architecture Developmentijwtiir
 
Study on Use Case Model for Service Oriented Architecture Development
Study on Use Case Model for Service Oriented Architecture DevelopmentStudy on Use Case Model for Service Oriented Architecture Development
Study on Use Case Model for Service Oriented Architecture Developmentijbuiiir1
 

Similar to Principles of SOA: Services Minimize Statefulness (20)

02 Service Oriented Architecture Series - SOA Concepts
02 Service Oriented Architecture Series - SOA Concepts02 Service Oriented Architecture Series - SOA Concepts
02 Service Oriented Architecture Series - SOA Concepts
 
Stateful Web Services - Short Report
Stateful Web Services - Short ReportStateful Web Services - Short Report
Stateful Web Services - Short Report
 
Soa Eai Ver1 0
Soa Eai Ver1 0Soa Eai Ver1 0
Soa Eai Ver1 0
 
unit 5 cloud.pptx
unit 5 cloud.pptxunit 5 cloud.pptx
unit 5 cloud.pptx
 
Odca interop across_clouds_standard units of measurement for iaa_s
Odca interop across_clouds_standard units of measurement for iaa_sOdca interop across_clouds_standard units of measurement for iaa_s
Odca interop across_clouds_standard units of measurement for iaa_s
 
Service Oriented Architecture
Service Oriented ArchitectureService Oriented Architecture
Service Oriented Architecture
 
1)Coupling-   It is applicable on different elements of a service.pdf
1)Coupling-   It is applicable on different elements of a service.pdf1)Coupling-   It is applicable on different elements of a service.pdf
1)Coupling-   It is applicable on different elements of a service.pdf
 
Microsoft SQL High Availability and Scaling
Microsoft SQL High Availability and ScalingMicrosoft SQL High Availability and Scaling
Microsoft SQL High Availability and Scaling
 
Service Level Agreement
Service Level AgreementService Level Agreement
Service Level Agreement
 
E-Services course Chapter II ISI by Ettaieb Abdessattar
E-Services course Chapter II ISI by Ettaieb AbdessattarE-Services course Chapter II ISI by Ettaieb Abdessattar
E-Services course Chapter II ISI by Ettaieb Abdessattar
 
M 94 4
M 94 4M 94 4
M 94 4
 
Cloud application services (saa s) – multi tenant data architecture
Cloud application services (saa s) – multi tenant data architectureCloud application services (saa s) – multi tenant data architecture
Cloud application services (saa s) – multi tenant data architecture
 
Service-oriented architecture (SOA) is a method of software development that ...
Service-oriented architecture (SOA) is a method of software development that ...Service-oriented architecture (SOA) is a method of software development that ...
Service-oriented architecture (SOA) is a method of software development that ...
 
Templateplanodedisponibilidadedosservios 120602150709-phpapp02
Templateplanodedisponibilidadedosservios 120602150709-phpapp02Templateplanodedisponibilidadedosservios 120602150709-phpapp02
Templateplanodedisponibilidadedosservios 120602150709-phpapp02
 
SDN Federation White Paper
SDN Federation White PaperSDN Federation White Paper
SDN Federation White Paper
 
Service oriented architecture 27 May 2014
Service oriented architecture 27 May 2014Service oriented architecture 27 May 2014
Service oriented architecture 27 May 2014
 
Service oriented architecture & web 2.0
Service oriented architecture & web 2.0Service oriented architecture & web 2.0
Service oriented architecture & web 2.0
 
Study on Use Case Model for Service Oriented Architecture Development
Study on Use Case Model for Service Oriented Architecture DevelopmentStudy on Use Case Model for Service Oriented Architecture Development
Study on Use Case Model for Service Oriented Architecture Development
 
Study on Use Case Model for Service Oriented Architecture Development
Study on Use Case Model for Service Oriented Architecture DevelopmentStudy on Use Case Model for Service Oriented Architecture Development
Study on Use Case Model for Service Oriented Architecture Development
 
Performance in soa context
Performance in soa contextPerformance in soa context
Performance in soa context
 

More from Mohamed Zakarya Abdelgawad

EA foundations (Views, Repository, Artifacts and Metamodel)
EA foundations (Views, Repository, Artifacts and Metamodel)EA foundations (Views, Repository, Artifacts and Metamodel)
EA foundations (Views, Repository, Artifacts and Metamodel)Mohamed Zakarya Abdelgawad
 
Accenture/Insead Business Strategy Part 1 Certificate
Accenture/Insead Business Strategy Part 1 CertificateAccenture/Insead Business Strategy Part 1 Certificate
Accenture/Insead Business Strategy Part 1 CertificateMohamed Zakarya Abdelgawad
 
ITIL 4 Strategist Direct, Plan and Improve (DPI)
ITIL 4 Strategist Direct, Plan and Improve (DPI)ITIL 4 Strategist Direct, Plan and Improve (DPI)
ITIL 4 Strategist Direct, Plan and Improve (DPI)Mohamed Zakarya Abdelgawad
 
Architecture thinking w002 - Business Strategy Intro
Architecture thinking w002 - Business Strategy IntroArchitecture thinking w002 - Business Strategy Intro
Architecture thinking w002 - Business Strategy IntroMohamed Zakarya Abdelgawad
 

More from Mohamed Zakarya Abdelgawad (20)

EA foundations (Views, Repository, Artifacts and Metamodel)
EA foundations (Views, Repository, Artifacts and Metamodel)EA foundations (Views, Repository, Artifacts and Metamodel)
EA foundations (Views, Repository, Artifacts and Metamodel)
 
Mohammed Zakarya Resume
Mohammed Zakarya ResumeMohammed Zakarya Resume
Mohammed Zakarya Resume
 
Mohamed zakarya certificates
Mohamed zakarya certificatesMohamed zakarya certificates
Mohamed zakarya certificates
 
Mohammed Zakarya Resume
Mohammed Zakarya ResumeMohammed Zakarya Resume
Mohammed Zakarya Resume
 
EA foundations (views + repository)
EA foundations (views + repository)EA foundations (views + repository)
EA foundations (views + repository)
 
EA foundations - 01 (views & viewpoints)
EA foundations - 01 (views & viewpoints)EA foundations - 01 (views & viewpoints)
EA foundations - 01 (views & viewpoints)
 
Accenture/Insead Business Strategy Part 1 Certificate
Accenture/Insead Business Strategy Part 1 CertificateAccenture/Insead Business Strategy Part 1 Certificate
Accenture/Insead Business Strategy Part 1 Certificate
 
Dpbok context i
Dpbok   context iDpbok   context i
Dpbok context i
 
Digital Practitioner Capability Context
Digital Practitioner Capability ContextDigital Practitioner Capability Context
Digital Practitioner Capability Context
 
DPBOK Foundation
DPBOK FoundationDPBOK Foundation
DPBOK Foundation
 
Certified Microservice Archtiect
Certified Microservice ArchtiectCertified Microservice Archtiect
Certified Microservice Archtiect
 
Certified Business Architect
Certified Business ArchitectCertified Business Architect
Certified Business Architect
 
ITIL 4 Strategist Direct, Plan and Improve (DPI)
ITIL 4 Strategist Direct, Plan and Improve (DPI)ITIL 4 Strategist Direct, Plan and Improve (DPI)
ITIL 4 Strategist Direct, Plan and Improve (DPI)
 
Architecture thinking w002 - Business Strategy Intro
Architecture thinking w002 - Business Strategy IntroArchitecture thinking w002 - Business Strategy Intro
Architecture thinking w002 - Business Strategy Intro
 
Architecture thinking w001
Architecture thinking w001Architecture thinking w001
Architecture thinking w001
 
Business Architecture Foundations
Business Architecture FoundationsBusiness Architecture Foundations
Business Architecture Foundations
 
Togaf 9.2 Introduction
Togaf 9.2 IntroductionTogaf 9.2 Introduction
Togaf 9.2 Introduction
 
Discover Your IT Career Path
Discover Your IT Career PathDiscover Your IT Career Path
Discover Your IT Career Path
 
ITIL V4 Foundation
ITIL V4 FoundationITIL V4 Foundation
ITIL V4 Foundation
 
SOA foundation - Generation 2
SOA foundation - Generation 2SOA foundation - Generation 2
SOA foundation - Generation 2
 

Recently uploaded

Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 

Recently uploaded (20)

Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 

Principles of SOA: Services Minimize Statefulness

  • 1. Principles OF SOAFrom knowledge To practice SUBMITTED BY : MOHAMED ZAKARYA
  • 2. AGENDA  Service orientation principles  Standardized Service Contract  Service Reusability  Service Discoverability  Service Composability  Service Loose Coupling  Service Abstraction  Service Autonomy  Service Statelessness  Thanks 
  • 5. SERVICE ORIENTATION PRINCIPLES Service Reusability Service contain agnostic logic that can be position as reusable enterprise resource. Standardized Service Contract Service in same inventory are in compliance of same design service contract standards. Service Composition Services are effective composition participants. Service Discoverability Service meta data available for discoverability and interpreted. Service Loose Coupling Contract decoupled from surrounding environment. Service Autonomy Services exercise a high level of control over their underlying runtime execution environment. Service Statelessness Services minimize resource consumption , reduce state information. Service Abstraction Contract contains only essential information , that is published to consumers.
  • 7. INTRODUCTION Service Statelessness Services minimize resource consumption , reduce state information. Purpose : To maximize service scalability , services and their surrounding architecture can be designed to support the delegation and deferral of state management responsibilities
  • 8. EXAMPLE State refers to general condition of something. A car that is moving is in a state of motion ( active) , whereas a car that is not moving is in a stationary state ( passive) Software program can also have and transition through different states usually because of its involvement in a runtime activity.
  • 9. STATE CONDITIONS / DATA TYPES Each state can be represented and described by data that has lifespan equivalent to duration at which program remains active state management can be considered management of temporary, activity-specific data.
  • 10. PRIMARY STATE ( ACTIVE / PASSIVE ) Two basic states a car was capable of having: in motion and stationary. Active state Service being invoked or executed and therefore entering an active state. Passive state Period during which service is not in use. Exists in a passive or [non-active] state.
  • 11. PRIMARY STATE CONDITIONS ( STATEFUL , STATELESS ) There are types to represent specific state of active conditions [runtime condition of a service] stateless state (idle condition) Active service but may not be engaged in processing of state data EX : http protocol when server respond to requested web page stateful state Service that is actively processing or retaining state data
  • 12. TYPE OF STATE INFORMATION ( SESSION / CONTEXT / BUSINESS) State data is information primarily associated with a current activity, Business  information related to business task currently executing.  EX : records return from database query stored in memory for future needs Context  Information about a particular service activity  The larger complex a service composition, the more context information will generally need to be managed  Types : context data and context rules (work flow rules) Session  Represents information associated with retaining a connection made between a program and its client program  Ex : web site session
  • 13. CONTEXT TYPES Context rule Protocols and constraints applied to the execution of a specific [Service activity Workflow rules that govern processing of activity] EX :  Allowable duration of the service activity  Allowable quantity of service activity instances  Allowable quantity of participating services Context data Information beyond service and considered as part of a current service activity EX :  Quantity of services currently participating in an activity  Which services are currently active and which were active in the service activity  The duration of the service activity  How many instances of the activity are currently in execution
  • 14. ORIGIN OF STATE MANAGEMENT (TWO-TIER)
  • 15. ORIGIN OF STATE MANAGEMENT ( THREE TIER)
  • 16. ORIGIN OF STATE MANAGEMENT ( THREE TIER) Concurrently accessed server-side program becoming a performance bottleneck is very real
  • 17. ORIGIN OF STATE MANAGEMENT A separate database positioned as a state management deferral extension of the architecture
  • 18. SERVICE ORIENTATION AND STATE MANAGEMENT service-orientation places on reuse, state management becomes a greater concern.
  • 19. DEFERRAL VS. DELEGATION Deferral The temporary relocation of state information is referred to as state deferral Delegation To accomplish state management deferral we temporarily delegate this responsibility to another part of the architecture (such as a database). Therefore, we achieve state management deferral through temporary and periodic state management delegation.
  • 20. ABOUT THE PRINCIPLE Title Services minimize statefulness Description Services minimize resource consumption by deferring the management of state information when necessary. Goals Implementation requirements Performance demands associated with runtime retrieval and interpretation of deferred state data. Increase service scalability. Improve the potential for service reuse.
  • 21. STATE MANAGEMENT DEFERRAL SAMPLE TYPES Non-Deferred State Management (low-to-no statelessness) Partially Deferred Memory (reduced statefulness) Partial Architectural State Management Deferral (moderate statelessness) Full Architectural State Management Deferral (high statelessness) Internally Deferred State Management (high statelessness)
  • 22. 1. NON-DEFERRED STATE MANAGEMENT (LOW-TO-NO STATELESSNESS)  Increased amount of state management processing can inhibit scalability  Remain active for the duration of its participation in the overall activity  Service does not require an external state deferral extension  Service does not form a direct dependency on its surrounding architecture.
  • 23. 2. PARTIALLY DEFERRED MEMORY (REDUCED STATEFULNESS)  Service capability can be designed to defer state data without having to switch between stateless and stateful conditions.  Designed to off-load portions of this data during periods where the data is not required.  Typically deferred business data , retain context data and session data
  • 24. 3. PARTIAL ARCHITECTURAL STATE MANAGEMENT DEFERRAL  During longer running activities,  service will be transitioned into stateless modes during these gaps of inactivity  service is not designed to take advantage of every possible opportunity to become stateless
  • 25. 4. FULL ARCHITECTURAL STATE MANAGEMENT DEFERRAL  The service capabilities are designed to maximize any reasonable opportunity to become stateless  Off-load state information (primarily context and business data) while stateful whenever possible is also leveraged
  • 26. 5. INTERNALLY DEFERRED STATE MANAGEMENT  Achieved the absolute isolation level of pure autonomy [Service environment is isolated and firmly in our control] .. (isolated services)  Internal state deferral option. This is commonly implemented via a dedicated database that the service can use to store and retrieve temporary activity data  Maximize its existence in a stateless condition.
  • 29. THANKS ENJOY SOA .. WAIT FOR NEXT MAIL: ENG.MOHAMEDZAKARYA@GMAIL.COM

Editor's Notes

  1. 6 main parts of presentation !
  2. State data : When automating a particular task, the service is required to process data specific to that task Stateless state : When a browser requests a Web page from a Web server, the Web server responds by delivering the content and then returning to a stateless
  3. Session data example : if you access a Web site with your browser, it may be programmed to establish a unique session identifier to correlate future interaction with the browser and other parts of the site. -----------------------------
  4. Context rules : المعلومات التي تتعلق بما هو وما يجري
  5. Context rules : المعلومات التي تتعلق بما هو وما يجري
  6. Context rules : المعلومات التي تتعلق بما هو وما يجري
  7. Context rules : المعلومات التي تتعلق بما هو وما يجري
  8. Context rules : المعلومات التي تتعلق بما هو وما يجري
  9. Context rules : المعلومات التي تتعلق بما هو وما يجري
  10. Context rules : المعلومات التي تتعلق بما هو وما يجري
  11. Although state deferral can reduce the overall consumption of memory and system resources, services designed with statelessness considerations can also introduce some performance demands associated with the runtime retrieval and interpretation of deferred state data.
  12. Context rules : المعلومات التي تتعلق بما هو وما يجري
  13. reduces overall memory consumption for each activity a service instance is required to process.
  14. This service, based on a different form of partial state deferral, is able to transition into a stateless mode at certain times.
  15. Context rules : المعلومات التي تتعلق بما هو وما يجري
  16. Pure autonomy : Service has absolute ownership of its runtime existence and we have top-to-bottom governance over its design and architecture