Flexible Wide Area Consistency Management: Sai Susarla
Flexible Wide Area Consistency Management: Sai Susarla
Management
Sai Susarla
Current Approach:
• Implement one combination effectively to suit one app.
• Restricts reusability
Approach:
• Implement common mechanisms in app-independent manner
• Provide hooks to let applications customize their behavior
S4
S5
P
...
Object O1: multi-master, pull-updates optimistic consistency (e.g., shared file)
Object O2: single-master, push-updates strict consistency (e.g., shared password db)
Parent-child relationship between object replicas
Client accesses replica
...
Object O1: multi-master, pull-updates optimistic consistency (e.g., shared file)
Object O2: single-master, push-updates strict consistency (e.g., shared password db)
Parent-child relationship between object replicas
Client accesses replica
...
Object O1: multi-master, pull-updates optimistic consistency (e.g., shared file)
Object O2: single-master, push-updates strict consistency (e.g., shared password db)
Parent-child relationship between object replicas
Client accesses replica
...
Object O1: multi-master, pull-updates optimistic consistency (e.g., shared file)
Object O2: single-master, push-updates strict consistency (e.g., shared password db)
Parent-child relationship between object replicas
Client accesses replica
3 callback(handle, newdata)
P {
4 display(newdata);
}
main()
2 {
1 handle = kh_open(kid, "a+");
kh_snoop(handle, callback);
while (! done) {
read(&newdata);
display(newdata);
kh_write(handle, newdata);
}
kh_close(handle);
}
Sample Chat client code
Chat transcript: multi-master, push updates, optimistic append-only consistency
Update propagation path