Re: Schema design - version history and time travel

2012-08-28 Thread Patrik Sundberg
On Tue, Aug 28, 2012 at 7:11 AM, Mark Phillips wrote: > Hi Patrik, > > Sorry for the late response here. > > On Fri, Aug 17, 2012 at 9:37 AM, Patrik Sundberg > wrote: > > Hi, > > > > I'll simplify the case to something easier to follow. The typical > question I > > have is: find piece of data X

Re: Schema design - version history and time travel

2012-08-27 Thread Mark Phillips
Hi Patrik, Sorry for the late response here. On Fri, Aug 17, 2012 at 9:37 AM, Patrik Sundberg wrote: > Hi, > > I'll simplify the case to something easier to follow. The typical question I > have is: find piece of data X as of time Y. A piece of data X has a start > time and end time, can think o

Re: Schema design - version history and time travel

2012-08-17 Thread Patrik Sundberg
Hi, I'll simplify the case to something easier to follow. The typical question I have is: find piece of data X as of time Y. A piece of data X has a start time and end time, can think of as positive integers (that I could have 2i indices for). I'm trying to find the version of X whose start and en

Schema design - version history and time travel

2012-08-15 Thread Patrik Sundberg
Hi, I have a domain where I want to be able to "time travel". I don't have many of updates (many more reads), but when there is an update I need to preserve history and create new versions. Setting my local "application time" determines which version of a particular piece of data is fetched, and I