Open kyung01 opened 10 years ago
TODO @tavoe 0) database needs to fire event "I am updated" 1) server keeps random number as it's "current version" and if it received "I am updated" from database, set new "current version" 2) client keeps asking "hey, the last time your current version was this, do you still have the same version? or different version" 2) client receives different "current version" from server, then it updates its graph
This is the best model I can think of. I lack practice in this field. Feedback needed.
Connect to a real database to populate the graph.
When the database updates, update the graph.