Re:Spanner: Google's Globally-Distributed Database
by lsb on Saturday September 15, 2012 @02:57PM
(#4526955)
Interestingly, the data storage seems similar to Rich Hickey's Datomic: "data is versioned, and each version is automatically timestamped with its commit time; old versions of data are subject to configurable garbage-collection policies; and applications can read data at old timestamps."
[ Parent
| on HN ]
Re:Spanner: Google's Globally-Distributed Database
by tdg on Saturday September 15, 2012 @03:08PM
(#4526981)
That's exactly like BigTable[1]. It makes sense that they built on top of that.
[1] http://static.googleusercontent.com/external_content/untrust...
Re:Spanner: Google's Globally-Distributed Database
by akkartik on Saturday September 15, 2012 @05:25PM
(#4527361)
But you can mutate bigtable cells. Datomic seems dramatically different in that respect.
Re:Spanner: Google's Globally-Distributed Database
by Evbn on Saturday September 15, 2012 @07:42PM
(#4527659)
Can you? Or do some apps just always ask for the latest timestamped version when they read?
Re:Spanner: Google's Globally-Distributed Database
by akkartik on Saturday September 15, 2012 @07:46PM
(#4527670)
You could but it's not enforced. In practice, teams at google seem to use the time axis in myriad ways, and seldom like datomic.
Also, always reading the most recent timestamp doesn't use time like datomic does. You aren't querying by time and so on.
Re:Spanner: Google's Globally-Distributed Database
by sedachv on Saturday September 15, 2012 @10:11PM
(#4528015)
Timestamp versioning is one of the oldest (1978) ideas in distributed systems: http://patricklogan.blogspot.ca/2007/09/naming-and-synchroni...
Re:Spanner: Google's Globally-Distributed Database
by nnythm on Saturday September 15, 2012 @06:47PM
(#4527556)
MVCC has been around for at least thirty years, but it's interesting that we have seen more databases with this feature recently.
Re:Spanner: Google's Globally-Distributed Database
by linuxhansl on Saturday September 15, 2012 @07:40PM
(#4527655)
Almost all databases use it in form or the other.
PostgreSQL uses it, Oracle uses it, MySQL (innodb) uses it, Apache HBase uses it, the list goes on and on...