Building Web Services Middleware with Predictable Service Execution Vidura Gamini Abhaya Prof. Zahir Tari and Assoc. Prof. Peter Bertok Distributed Systems and Networking Group School of Computer Science and IT RMIT University Melbourne, Australia December 13, 2010 [WISE 2010 - pages 23-37 in proceedings]
42
Embed
Building Web Services Middleware with Predictable Service Execution
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Building Web Services Middleware with
Predictable Service Execution
Vidura Gamini AbhayaProf. Zahir Tari and Assoc. Prof. Peter Bertok
Distributed Systems and Networking GroupSchool of Computer Science and IT
RMIT UniversityMelbourne, Australia
December 13, 2010
[WISE 2010 - pages 23-37 in proceedings]
Intro. Guidelines Case Study Results Conclusion
Presentation Structure
1 Introduction
2 Guidelines for Predictability
3 Case Study
4 Empirical Results
5 Conclusion
V. Gamini Abhaya et. al. WISE 2010 - pages 23-37 in proceedings
Intro. Guidelines Case Study Results Conclusion Motive. QoS in the Cloud ThreadPools WS Stack
1 Introduction
2 Guidelines for Predictability
3 Case Study
4 Empirical Results
5 Conclusion
V. Gamini Abhaya et. al. WISE 2010 - pages 23-37 in proceedings
Intro. Guidelines Case Study Results Conclusion Motive. QoS in the Cloud ThreadPools WS Stack
Motivation
Web Services enable communication between DistributedHeterogeneous Systems.
V. Gamini Abhaya et. al. WISE 2010 - pages 23-37 in proceedings
Intro. Guidelines Case Study Results Conclusion Motive. QoS in the Cloud ThreadPools WS Stack
Motivation
Web Services enable communication between DistributedHeterogeneous Systems. It is the foundation for...
V. Gamini Abhaya et. al. WISE 2010 - pages 23-37 in proceedings
Intro. Guidelines Case Study Results Conclusion Motive. QoS in the Cloud ThreadPools WS Stack
Motivation
Web Services enable communication between DistributedHeterogeneous Systems. It is the foundation for...
V. Gamini Abhaya et. al. WISE 2010 - pages 23-37 in proceedings
Intro. Guidelines Case Study Results Conclusion Motive. QoS in the Cloud ThreadPools WS Stack
Motivation
Web Services enable communication between DistributedHeterogeneous Systems. It is the foundation for...
V. Gamini Abhaya et. al. WISE 2010 - pages 23-37 in proceedings
Intro. Guidelines Case Study Results Conclusion Motive. QoS in the Cloud ThreadPools WS Stack
Motivation - QoS in the Cloud
V. Gamini Abhaya et. al. WISE 2010 - pages 23-37 in proceedings
Intro. Guidelines Case Study Results Conclusion Motive. QoS in the Cloud ThreadPools WS Stack
Motivation - QoS in the Cloud
Increased the importance of QoS
Lack of attempts in achieving Execution-time QoS
On achieving consistent and predictable Execution times
V. Gamini Abhaya et. al. WISE 2010 - pages 23-37 in proceedings
Intro. Guidelines Case Study Results Conclusion Motive. QoS in the Cloud ThreadPools WS Stack
Web Services Middleware
WS-Middleware are optimised for throughput by design
Requests are accepted unconditionally
Uses thread-pools to execute them in a best-effort manner
Processes multiple requests in-parallel in a processor sharingmanner
V. Gamini Abhaya et. al. WISE 2010 - pages 23-37 in proceedings
Intro. Guidelines Case Study Results Conclusion Motive. QoS in the Cloud ThreadPools WS Stack
ThreadPool Pattern
Increases throughput
At the increase of the mean execution time of a web service
V. Gamini Abhaya et. al. WISE 2010 - pages 23-37 in proceedings
Intro. Guidelines Case Study Results Conclusion Motive. QoS in the Cloud ThreadPools WS Stack
ThreadPool Pattern
Increases throughput
At the increase of the mean execution time of a web service
No. of requests served in-parallel ∝ Mean time to service a request
V. Gamini Abhaya et. al. WISE 2010 - pages 23-37 in proceedings
Intro. Guidelines Case Study Results Conclusion Motive. QoS in the Cloud ThreadPools WS Stack
Web Services Software Stack
The execution of a web service request goes through multiplelayers of software
V. Gamini Abhaya et. al. WISE 2010 - pages 23-37 in proceedings
Intro. Guidelines Case Study Results Conclusion Motive. QoS in the Cloud ThreadPools WS Stack
Web Services Software Stack
Predictability at the upper layers can only be achieved if it issupported at the lower levels
Thread priority level mismatches between dev platform and OS
Service invocations can be interrupted by a process/thread with higher priority
Delays in resource reservations at OS level
V. Gamini Abhaya et. al. WISE 2010 - pages 23-37 in proceedings
Intro. Guidelines Case Study Results Conclusion Guidelines
1 Introduction
2 Guidelines for Predictability
3 Case Study
4 Empirical Results
5 Conclusion
V. Gamini Abhaya et. al. WISE 2010 - pages 23-37 in proceedings
Intro. Guidelines Case Study Results Conclusion Guidelines
Guidelines for Predictability in Service Execution
- Enable Web Service Middleware to achieve Predictability in Service Execution.- Can be followed in building new middleware or to enhance existing.- Applicable for both SOAP and REST based services
V. Gamini Abhaya et. al. WISE 2010 - pages 23-37 in proceedings
Intro. Guidelines Case Study Results Conclusion Guidelines
Guidelines for predictability in service execution
G1. Dev platform and OS used must guarantee predictability of execution
V. Gamini Abhaya et. al. WISE 2010 - pages 23-37 in proceedings
Intro. Guidelines Case Study Results Conclusion Guidelines
Guidelines for predictability in service execution
G1. Dev platform and OS used must guarantee predictability of execution
G2. Schedule requests based on their deadlines
V. Gamini Abhaya et. al. WISE 2010 - pages 23-37 in proceedings
Intro. Guidelines Case Study Results Conclusion Guidelines
Guidelines for predictability in service execution
G1. Dev platform and OS used must guarantee predictability of execution
G2. Schedule requests based on their deadlines
G3. Select requests based on their laxity
V. Gamini Abhaya et. al. WISE 2010 - pages 23-37 in proceedings
Intro. Guidelines Case Study Results Conclusion Guidelines
Guidelines for predictability in service execution
G1. Dev platform and OS used must guarantee predictability of execution
G2. Schedule requests based on their deadlines
G3. Select requests based on their laxity
G4. Introduce fine-grain differentiation in request processing
V. Gamini Abhaya et. al. WISE 2010 - pages 23-37 in proceedings
Intro. Guidelines Case Study Results Conclusion Guidelines
Guidelines for predictability in service execution
G1. Dev platform and OS used must guarantee predictability of execution
G2. Schedule requests based on their deadlines
G3. Select requests based on their laxity
G4. Introduce fine-grain differentiation in request processing
G5. Minimise priority inversions
V. Gamini Abhaya et. al. WISE 2010 - pages 23-37 in proceedings
Intro. Guidelines Case Study Results Conclusion Overview Infra. Commons Standalone Cluster PI
1 Introduction
2 Guidelines for Predictability
3 Case Study
4 Empirical Results
5 Conclusion
V. Gamini Abhaya et. al. WISE 2010 - pages 23-37 in proceedings
Intro. Guidelines Case Study Results Conclusion Overview Infra. Commons Standalone Cluster PI