Fault-Tolerant Resource Reasoning
Gian Ntzik, Pedro da Rocha Pinto and Philippa Gardner
Imperial College London {gn408,pmd09,pg}@imperial.ac.uk
January 13, 2016
1/22
Fault-Tolerant Resource Reasoning Gian Ntzik , Pedro da Rocha Pinto - - PowerPoint PPT Presentation
Fault-Tolerant Resource Reasoning Gian Ntzik , Pedro da Rocha Pinto and Philippa Gardner Imperial College London { gn408,pmd09,pg } @imperial.ac.uk January 13, 2016 1/22 Example: A naive bank transfer widthdraw ( from , amount ); deposit ( to ,
1/22
2/22
3/22
4/22
◮ Sequential & concurrent programs ◮ Library reasoning: DOM, POSIX, indexes, stacks, queues, . . .
5/22
6/22
7/22
8/22
9/22
10/22
11/22
11/22
12/22
12/22
13/22
◮ Before any update, write information to a (durable) log ◮ During recovery, use log to detect and fix broken state
14/22
15/22
16/22
17/22
18/22
19/22
20/22
◮ Recovery is idempotent (recovery abstraction rule) ◮ Transactions are committed or rolled-back as intended (A,D in
21/22
22/22
◮ Link with atomicity in concurrency ◮ Fault-tolerant file-system specifications ◮ Examples: persisted message-queues, transactions (full ACID) ◮ Automation