SlideShare uma empresa Scribd logo
1 de 13
Baixar para ler offline
Implementing Dynamic Process
Migration mechanism for WSO2 Stratos
Dharshana Kasun Warusavitharana
128233A
Department of Computer science and Engineering
University of Moratuwa.
dkasunw@gmail.com
Supervisors
Mr. Afkham Azeez
Director Of Architecture, WSO2 inc.
azeez@wso2.com
Srinath Perera, Ph.D.
Senior Software Architect, WSO2 Inc.
srinath@wso2.com
Problem Identification
● What is WSO2 Stratos
○ Is a PaaS offers WSO2 platform as A service.
● What is Dynamic Process Migration
● Why Stratos needs Dynamic process migration
○ Dynamic load distribution.
○ Fair distribution of load.
○ Avoid nodes being idle.
○ Increase fault resilience.
Dharshana Warusavitharana 128233A
Implementing Dynamic Process Migration mechanism for WSO2 Stratos
Mr Afkham Azeez and Dr Srinath Perera
Dynamic Process Migration Scenario
Dynamic Process migration do
● process of transferring an active process
and restoring the process from the point it
left off
● Become dynamic while it is not visible to the
users.
● Achieved Tuning the Load Balancer
We can achieve
Dharshana Warusavitharana 128233A
Implementing Dynamic Process Migration mechanism for WSO2 Stratos
Mr Afkham Azeez and Dr Srinath Perera
● Load balancing
● Dynamic load
distribution
● Fault tolerance
● Reliability
● Concurrency
● Availability
Relevant Literature
● Dynamic Process Migration
● Selecting Algorithm
● Load Balancing
● Load indexing
● Process migration checkpointing and
indexing
Dharshana Warusavitharana 128233A
Implementing Dynamic Process Migration mechanism for WSO2 Stratos
Mr Afkham Azeez and Dr Srinath Perera
Dynamic Process Migration
The research paper [5][6] provides a good overall picture of
the process migration in linux environment
What applicable to me
● Detail items to be considered (List of goals to be achieved).
● Process checkpointing and load calculation.
● A practical implementation of the Dynamic Process Migration ( Yahoo).
What Deviates from my requirement
● I'm not working with linux kernel level threads.
● My requirement is to form a replicated node identical process running in
same state.
● By monitoring states and the resources used by original process.
Dharshana Warusavitharana 128233A
Implementing Dynamic Process Migration mechanism for WSO2 Stratos
Mr Afkham Azeez and Dr Srinath Perera
Selecting Algorithm
The Paper [11] describes about available types of process
migration mechanisms mainly focusing on operating
systems
● Types of Process migration algorithms.
● Their Nature
The Paper [10] describes about how the migration cost to
be calculate
● What are the states of the process needs to
consider.
● What is the state the algorithm should attend to
migrate
Dharshana Warusavitharana 128233A
Implementing Dynamic Process Migration mechanism for WSO2 Stratos
Mr Afkham Azeez and Dr Srinath Perera
Load Balancing
Load Balancing with process migration should
cover many aspects
● The paper[11] shows the role of the load balancer.
● What are the operations should handle.
● Key aspects we can follow.
●
There is separate Tenant aware load balance available on
[1] which contains many aspects but needs to improve to
cater the scenario.
Dharshana Warusavitharana 128233A
Implementing Dynamic Process Migration mechanism for WSO2 Stratos
Mr Afkham Azeez and Dr Srinath Perera
Migration Cost Calculation
The Paper [10] describes about how the migration cost to
be calculate
● What are the states of the process needs to consider.
● What is the state the algorithm should attend to migrate
The migration is separated into three phases
● Data collection
● Data transmission
● Data restoration
Dharshana Warusavitharana 128233A
Implementing Dynamic Process Migration mechanism for WSO2 Stratos
Mr Afkham Azeez and Dr Srinath Perera
Checkpointing
Checkpointing is a necessary step in monitoring
migrating process and taking fault tolerance precautions.
● A scenarios discussing on the paper [4] where load
can make idle node to a failure.
● And how to solve the issue using Checkpointing &
Rollback Recovery (CRR) and Process Migration on
paper[10].
the paper [13] Checkpointing can be implemented at
three levels
• Kernel-level Checkpointing
• User-level Checkpointing
• Application-level Checkpointing
Dharshana Warusavitharana 128233A
Implementing Dynamic Process Migration mechanism for WSO2 Stratos
Mr Afkham Azeez and Dr Srinath Perera
Proposed Methodology
Process Monitor – Do
indexing , Scheduling and
monitoring the internal
process and update load
balance and process monitor.
Migration Monitor- Calculate
the migration cost and notify
decision engine.
Load Balance – Do load
balancing encapsulating the
migration.
Dharshana Warusavitharana 128233A
Implementing Dynamic Process Migration mechanism for WSO2 Stratos
Mr Afkham Azeez and Dr Srinath Perera
Reference :
[1] “WSO2 Tenant Aware Load balancer | WSO2 Oxygen Tank.” [Online]. Available:
http://wso2.org/library/articles/2012/05/tenant-aware-load-balancer?
utm_medium=twitterutm_source=twitterfeed. [Accessed: 13-Jan-2013].
[2] P. Fremantle, S. Perera, A. Azeez, S. Jayasoma, S. Rubasinghe, R. Linton, S.
Weerawarana, and S. Abeysinghe, “Carbon: towards a server building framework
for SOA platform,” in Proceedings of the 5th International Workshop on Middleware
for Service Oriented Computing, 2010, pp. 7–12.
[3] “Azeez’s Notes: WSO2 Stratos - Deployment Architecture.” [Online]. Available:
http://blog.afkham.org/2010/06/wso2-stratos-deployment-architecture.html.
[Accessed: 13-Jan- 2013].
[4] Afkham Azeez, Srinath Perera, Sanjiva Weerawarana, Paul Fremantle,
Selvaratnam Uthaiyashankar, Samisa Abesinghe, “WSO2 Stratos: An Application
Stack to Support Cloud Computing.”
[5] N. Vasudevan and P. Venkatesh, “Design and Implementation of a Process
Migration System for the Linux Environment,” in 3rd International Conference on
Neural, Parallel and Scientific Computations, 2006.
[6] J. M. Smith, “A survey of process migration mechanisms,” ACM SIGOPS
Operating Systems Review, vol. 22, no. 3, pp. 28–40, 1988.
[7] D. S. Milojivcić, F. Douglis, Y. Paindaveine, R. Wheeler, and S. Zhou,
“Process migration,” ACM Computing Surveys (CSUR), vol. 32, no. 3, pp. 241–
299, 2000.
[8] C. S. Rao, M. Naidu, K. Subbaiah, and N. R. Reddy, “Process migration in
network of linux systems,” Int. J. Comput. Sci. Network Security, vol. 7, pp.
213–219, 2007.
[9] Ellard T. Roush and Roy H. Cambell, “Fast dynamic process migration,” in
Distributed Computing Systems, 1996.
[10 C. Du, X. H. Sun, and M. Wu, “Dynamic scheduling with process migration,”
in Cluster Computing and the Grid, 2007. CCGRID 2007. Seventh IEEE
International Symposium on,2007, pp. 92–99.
[11] R. Lawrence, “A survey of process migration mechanisms,” Dept. of CS,
Univ. of Manitoba, May, vol. 29, 1998.
[12] V. Shah and V. Kapadia, “Load Balancing by Process Migration in
Distributed Operating System,” International Journal of Soft Computing, vol. 2.
[13] C. S. Rao, M. Naidu, K. Subbaiah, and N. R. Reddy, “Process migration in
network of linux systems,” Int. J. Comput. Sci. Network Security, vol. 7, pp.
213–219, 2007.
[14] R. F. Yeshayahu Artsy, “Designing a process migration facility: The
Charlotte experience.”
Questions?
Thank You
Dharshana Warusavitharana 128233A
Implementing Dynamic Process Migration mechanism for WSO2 Stratos
Mr Afkham Azeez and Dr Srinath Perera

Mais conteúdo relacionado

Semelhante a Implementing Dynamic Process Migration mechanism for WSO2 Stratos

Virtual Machine Migration Techniques in Cloud Environment: A Survey
Virtual Machine Migration Techniques in Cloud Environment: A SurveyVirtual Machine Migration Techniques in Cloud Environment: A Survey
Virtual Machine Migration Techniques in Cloud Environment: A Surveyijsrd.com
 
AUTOMATED VM MIGRATION USING INTELLIGENT LEARNING TECHNIQUE
AUTOMATED VM MIGRATION USING INTELLIGENT LEARNING TECHNIQUEAUTOMATED VM MIGRATION USING INTELLIGENT LEARNING TECHNIQUE
AUTOMATED VM MIGRATION USING INTELLIGENT LEARNING TECHNIQUEIRJET Journal
 
Scalability truths and serverless architectures
Scalability truths and serverless architecturesScalability truths and serverless architectures
Scalability truths and serverless architecturesRegunath B
 
An Enhanced Throttled Load Balancing Approach for Cloud Environment
An Enhanced Throttled Load Balancing Approach for Cloud EnvironmentAn Enhanced Throttled Load Balancing Approach for Cloud Environment
An Enhanced Throttled Load Balancing Approach for Cloud EnvironmentIRJET Journal
 
A Survey on Task Scheduling and Load Balanced Algorithms in Cloud Computing
A Survey on Task Scheduling and Load Balanced Algorithms in Cloud ComputingA Survey on Task Scheduling and Load Balanced Algorithms in Cloud Computing
A Survey on Task Scheduling and Load Balanced Algorithms in Cloud ComputingIRJET Journal
 
Dynamic Cloud Partitioning and Load Balancing in Cloud
Dynamic Cloud Partitioning and Load Balancing in Cloud Dynamic Cloud Partitioning and Load Balancing in Cloud
Dynamic Cloud Partitioning and Load Balancing in Cloud Shyam Hajare
 
IRJET- An Adaptive Scheduling based VM with Random Key Authentication on Clou...
IRJET- An Adaptive Scheduling based VM with Random Key Authentication on Clou...IRJET- An Adaptive Scheduling based VM with Random Key Authentication on Clou...
IRJET- An Adaptive Scheduling based VM with Random Key Authentication on Clou...IRJET Journal
 
Process Migration in Heterogeneous Systems
Process Migration in Heterogeneous SystemsProcess Migration in Heterogeneous Systems
Process Migration in Heterogeneous Systemsijsrd.com
 
LIVE VIRTUAL MACHINE MIGRATION USING SHADOW PAGING IN CLOUD COMPUTING
LIVE VIRTUAL MACHINE MIGRATION USING SHADOW PAGING IN CLOUD COMPUTINGLIVE VIRTUAL MACHINE MIGRATION USING SHADOW PAGING IN CLOUD COMPUTING
LIVE VIRTUAL MACHINE MIGRATION USING SHADOW PAGING IN CLOUD COMPUTINGcsandit
 
Final jaypaper linux
Final jaypaper linuxFinal jaypaper linux
Final jaypaper linuxjaya380
 
IRJET- Research Paper on Energy-Aware Virtual Machine Migration for Cloud Com...
IRJET- Research Paper on Energy-Aware Virtual Machine Migration for Cloud Com...IRJET- Research Paper on Energy-Aware Virtual Machine Migration for Cloud Com...
IRJET- Research Paper on Energy-Aware Virtual Machine Migration for Cloud Com...IRJET Journal
 
A Review: Metaheuristic Technique in Cloud Computing
A Review: Metaheuristic Technique in Cloud ComputingA Review: Metaheuristic Technique in Cloud Computing
A Review: Metaheuristic Technique in Cloud ComputingIRJET Journal
 
QCon NYC: Distributed systems in practice, in theory
QCon NYC: Distributed systems in practice, in theoryQCon NYC: Distributed systems in practice, in theory
QCon NYC: Distributed systems in practice, in theoryAysylu Greenberg
 
A CLOUD BASED ARCHITECTURE FOR WORKING ON BIG DATA WITH WORKFLOW MANAGEMENT
A CLOUD BASED ARCHITECTURE FOR WORKING ON BIG DATA WITH WORKFLOW MANAGEMENTA CLOUD BASED ARCHITECTURE FOR WORKING ON BIG DATA WITH WORKFLOW MANAGEMENT
A CLOUD BASED ARCHITECTURE FOR WORKING ON BIG DATA WITH WORKFLOW MANAGEMENTIJwest
 
Development of a Suitable Load Balancing Strategy In Case Of a Cloud Computi...
Development of a Suitable Load Balancing Strategy In Case Of a  Cloud Computi...Development of a Suitable Load Balancing Strategy In Case Of a  Cloud Computi...
Development of a Suitable Load Balancing Strategy In Case Of a Cloud Computi...IJMER
 
Multi-level Elasticity Control of Cloud Services -- ICSOC 2013
Multi-level Elasticity Control of Cloud Services -- ICSOC 2013Multi-level Elasticity Control of Cloud Services -- ICSOC 2013
Multi-level Elasticity Control of Cloud Services -- ICSOC 2013Georgiana Copil
 

Semelhante a Implementing Dynamic Process Migration mechanism for WSO2 Stratos (20)

Virtual Machine Migration Techniques in Cloud Environment: A Survey
Virtual Machine Migration Techniques in Cloud Environment: A SurveyVirtual Machine Migration Techniques in Cloud Environment: A Survey
Virtual Machine Migration Techniques in Cloud Environment: A Survey
 
AUTOMATED VM MIGRATION USING INTELLIGENT LEARNING TECHNIQUE
AUTOMATED VM MIGRATION USING INTELLIGENT LEARNING TECHNIQUEAUTOMATED VM MIGRATION USING INTELLIGENT LEARNING TECHNIQUE
AUTOMATED VM MIGRATION USING INTELLIGENT LEARNING TECHNIQUE
 
Scalability truths and serverless architectures
Scalability truths and serverless architecturesScalability truths and serverless architectures
Scalability truths and serverless architectures
 
An Enhanced Throttled Load Balancing Approach for Cloud Environment
An Enhanced Throttled Load Balancing Approach for Cloud EnvironmentAn Enhanced Throttled Load Balancing Approach for Cloud Environment
An Enhanced Throttled Load Balancing Approach for Cloud Environment
 
A Survey on Task Scheduling and Load Balanced Algorithms in Cloud Computing
A Survey on Task Scheduling and Load Balanced Algorithms in Cloud ComputingA Survey on Task Scheduling and Load Balanced Algorithms in Cloud Computing
A Survey on Task Scheduling and Load Balanced Algorithms in Cloud Computing
 
Dynamic Cloud Partitioning and Load Balancing in Cloud
Dynamic Cloud Partitioning and Load Balancing in Cloud Dynamic Cloud Partitioning and Load Balancing in Cloud
Dynamic Cloud Partitioning and Load Balancing in Cloud
 
IRJET- An Adaptive Scheduling based VM with Random Key Authentication on Clou...
IRJET- An Adaptive Scheduling based VM with Random Key Authentication on Clou...IRJET- An Adaptive Scheduling based VM with Random Key Authentication on Clou...
IRJET- An Adaptive Scheduling based VM with Random Key Authentication on Clou...
 
Process Migration in Heterogeneous Systems
Process Migration in Heterogeneous SystemsProcess Migration in Heterogeneous Systems
Process Migration in Heterogeneous Systems
 
Process migration and load balancing
Process migration and load balancingProcess migration and load balancing
Process migration and load balancing
 
LIVE VIRTUAL MACHINE MIGRATION USING SHADOW PAGING IN CLOUD COMPUTING
LIVE VIRTUAL MACHINE MIGRATION USING SHADOW PAGING IN CLOUD COMPUTINGLIVE VIRTUAL MACHINE MIGRATION USING SHADOW PAGING IN CLOUD COMPUTING
LIVE VIRTUAL MACHINE MIGRATION USING SHADOW PAGING IN CLOUD COMPUTING
 
20120140506012
2012014050601220120140506012
20120140506012
 
20120140506012
2012014050601220120140506012
20120140506012
 
Live migration
Live migrationLive migration
Live migration
 
Final jaypaper linux
Final jaypaper linuxFinal jaypaper linux
Final jaypaper linux
 
IRJET- Research Paper on Energy-Aware Virtual Machine Migration for Cloud Com...
IRJET- Research Paper on Energy-Aware Virtual Machine Migration for Cloud Com...IRJET- Research Paper on Energy-Aware Virtual Machine Migration for Cloud Com...
IRJET- Research Paper on Energy-Aware Virtual Machine Migration for Cloud Com...
 
A Review: Metaheuristic Technique in Cloud Computing
A Review: Metaheuristic Technique in Cloud ComputingA Review: Metaheuristic Technique in Cloud Computing
A Review: Metaheuristic Technique in Cloud Computing
 
QCon NYC: Distributed systems in practice, in theory
QCon NYC: Distributed systems in practice, in theoryQCon NYC: Distributed systems in practice, in theory
QCon NYC: Distributed systems in practice, in theory
 
A CLOUD BASED ARCHITECTURE FOR WORKING ON BIG DATA WITH WORKFLOW MANAGEMENT
A CLOUD BASED ARCHITECTURE FOR WORKING ON BIG DATA WITH WORKFLOW MANAGEMENTA CLOUD BASED ARCHITECTURE FOR WORKING ON BIG DATA WITH WORKFLOW MANAGEMENT
A CLOUD BASED ARCHITECTURE FOR WORKING ON BIG DATA WITH WORKFLOW MANAGEMENT
 
Development of a Suitable Load Balancing Strategy In Case Of a Cloud Computi...
Development of a Suitable Load Balancing Strategy In Case Of a  Cloud Computi...Development of a Suitable Load Balancing Strategy In Case Of a  Cloud Computi...
Development of a Suitable Load Balancing Strategy In Case Of a Cloud Computi...
 
Multi-level Elasticity Control of Cloud Services -- ICSOC 2013
Multi-level Elasticity Control of Cloud Services -- ICSOC 2013Multi-level Elasticity Control of Cloud Services -- ICSOC 2013
Multi-level Elasticity Control of Cloud Services -- ICSOC 2013
 

Mais de Dharshana Kasun Warusavitharana (8)

Door to perfomance testing
Door to perfomance testingDoor to perfomance testing
Door to perfomance testing
 
Follow your dreams
Follow your dreams Follow your dreams
Follow your dreams
 
Automation for developers
Automation for developersAutomation for developers
Automation for developers
 
Quality for developers
Quality for developersQuality for developers
Quality for developers
 
Wso2 test automation framework internal training
Wso2 test automation framework internal trainingWso2 test automation framework internal training
Wso2 test automation framework internal training
 
Introduction to clarity
Introduction to clarityIntroduction to clarity
Introduction to clarity
 
Walking around linux kernel
Walking around linux kernelWalking around linux kernel
Walking around linux kernel
 
Ariane-5 shuttle Case study fault tollerance
Ariane-5 shuttle Case study fault tolleranceAriane-5 shuttle Case study fault tollerance
Ariane-5 shuttle Case study fault tollerance
 

Último

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)Samir Dash
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 

Último (20)

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 

Implementing Dynamic Process Migration mechanism for WSO2 Stratos

  • 1. Implementing Dynamic Process Migration mechanism for WSO2 Stratos Dharshana Kasun Warusavitharana 128233A Department of Computer science and Engineering University of Moratuwa. dkasunw@gmail.com Supervisors Mr. Afkham Azeez Director Of Architecture, WSO2 inc. azeez@wso2.com Srinath Perera, Ph.D. Senior Software Architect, WSO2 Inc. srinath@wso2.com
  • 2. Problem Identification ● What is WSO2 Stratos ○ Is a PaaS offers WSO2 platform as A service. ● What is Dynamic Process Migration ● Why Stratos needs Dynamic process migration ○ Dynamic load distribution. ○ Fair distribution of load. ○ Avoid nodes being idle. ○ Increase fault resilience. Dharshana Warusavitharana 128233A Implementing Dynamic Process Migration mechanism for WSO2 Stratos Mr Afkham Azeez and Dr Srinath Perera
  • 3. Dynamic Process Migration Scenario Dynamic Process migration do ● process of transferring an active process and restoring the process from the point it left off ● Become dynamic while it is not visible to the users. ● Achieved Tuning the Load Balancer We can achieve Dharshana Warusavitharana 128233A Implementing Dynamic Process Migration mechanism for WSO2 Stratos Mr Afkham Azeez and Dr Srinath Perera ● Load balancing ● Dynamic load distribution ● Fault tolerance ● Reliability ● Concurrency ● Availability
  • 4. Relevant Literature ● Dynamic Process Migration ● Selecting Algorithm ● Load Balancing ● Load indexing ● Process migration checkpointing and indexing Dharshana Warusavitharana 128233A Implementing Dynamic Process Migration mechanism for WSO2 Stratos Mr Afkham Azeez and Dr Srinath Perera
  • 5. Dynamic Process Migration The research paper [5][6] provides a good overall picture of the process migration in linux environment What applicable to me ● Detail items to be considered (List of goals to be achieved). ● Process checkpointing and load calculation. ● A practical implementation of the Dynamic Process Migration ( Yahoo). What Deviates from my requirement ● I'm not working with linux kernel level threads. ● My requirement is to form a replicated node identical process running in same state. ● By monitoring states and the resources used by original process. Dharshana Warusavitharana 128233A Implementing Dynamic Process Migration mechanism for WSO2 Stratos Mr Afkham Azeez and Dr Srinath Perera
  • 6. Selecting Algorithm The Paper [11] describes about available types of process migration mechanisms mainly focusing on operating systems ● Types of Process migration algorithms. ● Their Nature The Paper [10] describes about how the migration cost to be calculate ● What are the states of the process needs to consider. ● What is the state the algorithm should attend to migrate Dharshana Warusavitharana 128233A Implementing Dynamic Process Migration mechanism for WSO2 Stratos Mr Afkham Azeez and Dr Srinath Perera
  • 7. Load Balancing Load Balancing with process migration should cover many aspects ● The paper[11] shows the role of the load balancer. ● What are the operations should handle. ● Key aspects we can follow. ● There is separate Tenant aware load balance available on [1] which contains many aspects but needs to improve to cater the scenario. Dharshana Warusavitharana 128233A Implementing Dynamic Process Migration mechanism for WSO2 Stratos Mr Afkham Azeez and Dr Srinath Perera
  • 8. Migration Cost Calculation The Paper [10] describes about how the migration cost to be calculate ● What are the states of the process needs to consider. ● What is the state the algorithm should attend to migrate The migration is separated into three phases ● Data collection ● Data transmission ● Data restoration Dharshana Warusavitharana 128233A Implementing Dynamic Process Migration mechanism for WSO2 Stratos Mr Afkham Azeez and Dr Srinath Perera
  • 9. Checkpointing Checkpointing is a necessary step in monitoring migrating process and taking fault tolerance precautions. ● A scenarios discussing on the paper [4] where load can make idle node to a failure. ● And how to solve the issue using Checkpointing & Rollback Recovery (CRR) and Process Migration on paper[10]. the paper [13] Checkpointing can be implemented at three levels • Kernel-level Checkpointing • User-level Checkpointing • Application-level Checkpointing Dharshana Warusavitharana 128233A Implementing Dynamic Process Migration mechanism for WSO2 Stratos Mr Afkham Azeez and Dr Srinath Perera
  • 10. Proposed Methodology Process Monitor – Do indexing , Scheduling and monitoring the internal process and update load balance and process monitor. Migration Monitor- Calculate the migration cost and notify decision engine. Load Balance – Do load balancing encapsulating the migration. Dharshana Warusavitharana 128233A Implementing Dynamic Process Migration mechanism for WSO2 Stratos Mr Afkham Azeez and Dr Srinath Perera
  • 11. Reference : [1] “WSO2 Tenant Aware Load balancer | WSO2 Oxygen Tank.” [Online]. Available: http://wso2.org/library/articles/2012/05/tenant-aware-load-balancer? utm_medium=twitterutm_source=twitterfeed. [Accessed: 13-Jan-2013]. [2] P. Fremantle, S. Perera, A. Azeez, S. Jayasoma, S. Rubasinghe, R. Linton, S. Weerawarana, and S. Abeysinghe, “Carbon: towards a server building framework for SOA platform,” in Proceedings of the 5th International Workshop on Middleware for Service Oriented Computing, 2010, pp. 7–12. [3] “Azeez’s Notes: WSO2 Stratos - Deployment Architecture.” [Online]. Available: http://blog.afkham.org/2010/06/wso2-stratos-deployment-architecture.html. [Accessed: 13-Jan- 2013]. [4] Afkham Azeez, Srinath Perera, Sanjiva Weerawarana, Paul Fremantle, Selvaratnam Uthaiyashankar, Samisa Abesinghe, “WSO2 Stratos: An Application Stack to Support Cloud Computing.” [5] N. Vasudevan and P. Venkatesh, “Design and Implementation of a Process Migration System for the Linux Environment,” in 3rd International Conference on Neural, Parallel and Scientific Computations, 2006. [6] J. M. Smith, “A survey of process migration mechanisms,” ACM SIGOPS Operating Systems Review, vol. 22, no. 3, pp. 28–40, 1988.
  • 12. [7] D. S. Milojivcić, F. Douglis, Y. Paindaveine, R. Wheeler, and S. Zhou, “Process migration,” ACM Computing Surveys (CSUR), vol. 32, no. 3, pp. 241– 299, 2000. [8] C. S. Rao, M. Naidu, K. Subbaiah, and N. R. Reddy, “Process migration in network of linux systems,” Int. J. Comput. Sci. Network Security, vol. 7, pp. 213–219, 2007. [9] Ellard T. Roush and Roy H. Cambell, “Fast dynamic process migration,” in Distributed Computing Systems, 1996. [10 C. Du, X. H. Sun, and M. Wu, “Dynamic scheduling with process migration,” in Cluster Computing and the Grid, 2007. CCGRID 2007. Seventh IEEE International Symposium on,2007, pp. 92–99. [11] R. Lawrence, “A survey of process migration mechanisms,” Dept. of CS, Univ. of Manitoba, May, vol. 29, 1998. [12] V. Shah and V. Kapadia, “Load Balancing by Process Migration in Distributed Operating System,” International Journal of Soft Computing, vol. 2. [13] C. S. Rao, M. Naidu, K. Subbaiah, and N. R. Reddy, “Process migration in network of linux systems,” Int. J. Comput. Sci. Network Security, vol. 7, pp. 213–219, 2007. [14] R. F. Yeshayahu Artsy, “Designing a process migration facility: The Charlotte experience.”
  • 13. Questions? Thank You Dharshana Warusavitharana 128233A Implementing Dynamic Process Migration mechanism for WSO2 Stratos Mr Afkham Azeez and Dr Srinath Perera