bit.ly/meteor-rt-db
aka "Latency Compensation"
aka "client-side prediction"
"Dead reckoning" in gaming pathing
"speculative mutations"
http://bit.ly/optimistic-ui
[demo of instagram.com]
User clicks a button =>
if (inSimulation) {
addMessage(
message: msg
isInFlight: true
...)
} else {
addMessage(message: msg ...)
}
Run RPC simulation =>
Run actual RPC =>
Display simulated changes =>
Propagate updates =>
"update"
Display actual changes =>
http://bit.ly/ddp-spec
Timestamps!
Changes!
pg_current_xlog_location
pg_current_xlog_insert_location