We think you have liked this presentation. If you wish to download it, please recommend it to your friends in any social system. Share buttons are a little bit lower. Thank you!
Presentation is loading. Please wait.
Published byJasmine Harrison
Modified over 2 years ago
© 2010 Open Grid Forum Choices in Reservation operation 1PC/2PC, timing Tomohiro Kudoh, AIST
© 2010 Open Grid Forum Reservation options 1PC/2PC 2PC has held state, and must be committed before provisioning Start time parameter Advance / immediate Trigger of provisioning Explicit: signaling message from the root requester Automatic: Each leaf provider NSA provision at the specified start time based on its own timer 2
© 2010 Open Grid Forum Advance reservation (1PC) 3 CoordinatorCohort aCohort b reserve granted I R CoordinatorCohort aCohort b reserve not-granted granted roll-back (cancel) all casenone case Reservation without Provisioning can be roll- back. If one of providers (cohorts) can not grant request, coordinator can ask other cohorts to roll- back before provisioning. I R I R I R I R I R I R I R I R I: Initial R: Reserved
© 2010 Open Grid Forum Immediate reservation (1PC) 4 CoordinatorCohort aCohort b request granted I P CoordinatorCohort aCohort b request not-granted granted roll-back all casepartial case Resources are provisioned when granted The coordinator cannot ask to cancel before provisioning I P I P I P I P I P I P I P I P I: Initial P: Provisioned Roll-back is not possible (or painful) since the resource is already provisioned.
© 2010 Open Grid Forum What is two phase commit protocol? An atomic commitment protocol Used in transaction systems such as data bases Guarantees all or none of multiple participants (cohorts) are done (committed). 5 CoordinatorCohort aCohort b commit request commit request held commit I AH C I AH C I AH C I AH C I AH C I AH C CoordinatorCohort aCohort b commit request commit request abort held abort I AH C I AH C I AH C I AH C I AH C I AH C all casenone case I: Initial H: Held A: Aborted C: Committed
© 2010 Open Grid Forum When is 2PC required? 2PC is a protocol to support roll-back A held transaction can be rolled-back When a transaction is inherently rolled-back- able, atomic commitment protocol (2PC) is not mandatory Usually, reservation can be rolled-back, provisioning may not. Use 2PC when it is required (strongly preferable). 6
© 2010 Open Grid Forum Immediate reservation with 2PC Committed = Provisioned Roll-back is request before actual provisioning of resources 7 CoordinatorCohort aCohort b commit request commit request held commit I AH C I AH C I AH C I AH C I AH C I AH C CoordinatorCohort aCohort b commit request commit request not-granted held abort I AH C I AH C I AH C I AH C I AH C I AH C all casenone case I: Initial H: Held A: Aborted C: Committed
© 2010 Open Grid Forum But If you do not make a reservation advance enough, the reservation becomes immediate, instead of advance. It is not clear how much time is enough. So it is not reasonable to distinguish immediate and advance, and use different protocols. 8
© 2010 Open Grid Forum Simplified 2PC The cohort which is requested lastly does not have to support 2PC 9 CoordinatorCohort aCohort b commit request held commit I AH C I AH C I AH C request granted I P I P CoordinatorCohort aCohort b commit request held abort I AH C I AH C I AH C request not-granted I P I P
© 2010 Open Grid Forum Chain does not require 2PC between NSAs Chain model with 2PC 10 NSA NRM NSA NRM NSA NRM 2PC But can be simplified to use 2PC for internal-only No 2PC is required between NSAs. NSA NRM NSA NRM NSA NRM 2PC 1PC 2PC 1PC 2PC 1PC
© 2010 Open Grid Forum Timing issues we should aware The following timing issues exist, and must be considered Reservation time: Time (duration) required to process request, schedule and make resources ready for provision Set up time: Time (duration) between a trigger to provision (signaling message or timer) and the time when service for user become available Tear down time: Time (duration) between a trigger to cancel a provision (signaling message or timer) and the time service disappears Messaging time: Time (duration) required to deliver a message 11
© 2010 Open Grid Forum Provisioning timings(1) reservation start time The time a provider NSA starts action to provision a connection (by timer or signaling) No preceding processing before this time is required. reservation end time After this time, provision sequence of another reservation can be started service start/end time The time the user can start/should finish to use the connection 12
© 2010 Open Grid Forum Provisioning timings(2) ERSTEarliestReservationStart time reservation must not start before this time to keep ESST (?) LRSTLatestReservationStart time reservation must be started by this time to meet the service definition ERETEarliestReservationEnd time No meaning? LRETLatestReservationEnd time reservation must be ended by this time to allow next reservations provisioning ESSTEarliestServiceStart time service must not start before this time for security reasons. LSSTLatestServiceStart time User requires service by this time ESETEarliestServiceEnd time User requires service until this time LSETLatestServiceEnd time service must not remain after this time for security reasons 13
© 2010 Open Grid Forum 14 LRST LRET ESST LSST LSET ESET LRST ESST LSST
© 2010 Open Grid Forum Parameters of immediate reservation There was a discussion on whether to use (start time, end time) or (stat time, duration) for requesting parameters, and we decided to use (start time, end time) for NSI protocol They are the same for exact start time operation, duration = end time – start time But they are different for immediate reservation: (immediate, end time), (immediate, duration) If the end time is specified, duration of provisioning is not known, and vice versa. 15
© 2006 Open Grid Forum Advanced reservation/Scheduling Tomohiro Kudoh (AIST, Japan)
1 Concurrency: Deadlock and Starvation Chapter 6.
©Silberschatz, Korth and Sudarshan16.1Database System Concepts 3 rd Edition Chapter 16: Concurrency Control Lock-Based Protocols Timestamp-Based Protocols.
NSI/NML Resource and Topology Issues OGF Munich March 2010.
Use Cases 1. Question 1 Each waiter is assigned a group of tables, after taking orders for a table the waiters enter the orders (a list of dishes and.
Doc.: IEEE /0165r1 SubmissionPäivi Ruuska, NokiaSlide 1 Implementation aspects of a coexistence system Notice: This document has been.
Transaction Indra Budi Fakultas Ilmu Komputer UI 2 Exercise A series of actions to be taken on the database such that either all actions.
CM20145 Transactions Dr Alwyn Barry Dr Joanna Bryson.
Database System Concepts, 6 th Ed. ©Silberschatz, Korth and Sudarshan See for conditions on re-usewww.db-book.com Chapter 26: Advanced.
Re-INVITE Handling draft-camarillo-sipping-reinvite-00.txt
Dive into WebRatio 6 BPM Milano, 09/11/2013 WebRatio Customer Services.
© Jim Gray, Andreas Reuter Transaction Processing - Concepts and Techniques WICS August 2 - 6, Transaction Models Chapter 4.
1 Consistency in Distributed Systems Recall the fundamental DS properties – DS may be large in scale and widely distributed 1.concurrent execution of components.
CM20145 Concurrency Control Dr Alwyn Barry Dr Joanna Bryson.
1 Database Concurrency Control and Recovery Pessimistic concurrency control Two-phase locking (2PL) and Strict 2PL Timestamp ordering (TSO) and Strict.
Post-Expiration Domain Name Recovery PDP Presentation of Final Report.
1 Process Description and Control Chapter 2. 2 Process A program in execution An instance of a program running on a computer The entity that can be assigned.
Data recovery 1. 2 Recovery - introduction recovery restoring a system, after an error or failure, to a state that was previously known as correct have.
FINANCIAL INSTITUTIONS ENERGY INFRASTRUCTURE, MINING AND COMMODITIES TRANSPORT TECHNOLOGY AND INNOVATION PHARMACEUTICALS AND LIFE SCIENCES Break out session:
Construction process lasts until coding and testing is completed consists of design and implementation reasons for this phase –analysis model is not sufficiently.
CM20145 Transactions & Serializability Chris Middup.
Introduction to the Summary Care Record (SCR) GP Module SCR Concept Training GP Module Self Run v
Database System Concepts 5 th Ed. © Silberschatz, Korth and Sudarshan, 2005 See for conditions on re-usewww.db-book.com Chapter 16 : Concurrency.
Copyright © George Coulouris, Jean Dollimore, Tim Kindberg This material is made available for private study and for direct.
Budget Process and Budget Update Document (BUD). Overview Definitions Budget Process Why budget? What to budget What not to budget Budget Update Document.
Chapter 7: Deadlocks. The Deadlock Problem System Model Deadlock Characterization Methods for Handling Deadlocks Deadlock Prevention Deadlock Avoidance.
1 Dr. Xiaohui Wei College of Computer Science and Technology, Jilin University, China CSF4 Tutorial The 3rd PRAGMA Institute, Penang Malaysia,
Use of Passive and Active Voice Created by Alice Frye, Ph.D., Department of Psychology, University of Massachusetts, Lowell 1.
Real-Time Ticketing Score My Team. Real-Time Ticketing Real-Time Ticketing is an evaluation of your ability to enter tickets and information into ConnectWise.
41-01: Order Management Supply Chain Platform Training Presentation Updated April 2011.
© 2016 SlidePlayer.com Inc. All rights reserved.