Содержание
- 2. Motivation Timers are important for Failure recovery, rate based flow control, scheduling algorithms, controlling packet lifetime
- 3. Model & Performance Measure Routines in the model Client Invoked : START_TIMER(Interval, Request_ID, Expiry_Action) STOP_TIMER(Request_ID) Timer
- 4. Currently Used Timer Schemes a b c d e Can maintain absolute expiry time or the
- 5. Tree based timers a b c d a b c d maintain absolute expiry time START_TIMER
- 6. Simple Timing Wheel Keep a large timing wheel A curser in the timing wheel moves one
- 7. Hashed Timing Wheel 1 2 3 4 5 6 7 0 2 4 1 2 2
- 8. Hashed Timing Wheel Sorted Lists in each bucket The list in each bucket can be insertion
- 9. Hierarchical Timing Wheel 1 2 3 4 5 6 7 0 3 5 7 5 2
- 10. Hierarchical Timing Wheels START_TIMER = O(m) where m is the number of wheels The bucket value
- 12. Скачать презентацию