[Cosmo-dev] hibernate prototype

rletness at simdeskcorp.com rletness at simdeskcorp.com
Tue Aug 15 12:54:03 PDT 2006



Brian Moseley wrote:

> well, looking at my personal calendar, i've got:
>
> * two events that repeat every other thursday with no end date
> * one event that repeats every m,w,th,f,sun with no end date
> * one event that repeats every m,t,th,f that ends after six weeks
> * one event that repeats every t,th with no end date
>
> so i don't think it's as small as you might hope :)
>
Doh!  I don't have any like this but I guess its a valid use case. 
I still think we could force the user to select a reasonable end date by
denying infinte recurring events, but that might piss people off :)

>
> yeah, this is essentially re-expanding the event on every query. my
> instinct is that it's the wrong approach, but i'm willing to be proven
> wrong.
>
I'm sure a better approach would be a hybrid of indexing for a certain
period (year) an then expanding if a timerange request comes in outside of
that period.   There could even be a backround process to re-index 
to keep the indexed periods up to date.

-Randy


More information about the cosmo-dev mailing list