[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: queries for unbounded recurring components
"Lisa Lippert (Dusseault) (Platinum)" wrote:
> Generally I agree with John's principle to push things to the
> edges, but I'm not so sure on this one. The problem is that to
> do a simple query such as "what appointments do I have today?",
> the client has to either rely on the server to do expansion, OR
> the client has to download all appointments today, plus all
> appointments that recur.
Not necessarily; the server may not have to expand the recurring
event in order to find out whether it occurs on a given day. For
example, if we have:
DTSTART;TZID=US-Eastern:19970105T083000
RECUR:FREQ=WEEKLY
Then the server says, "OK, 19970105 is a Sunday; is the day being
asked about a Sunday?".
> It may be reasonable to limit the amount of expansion the
> server has to do, though. It could be interesting to allow the
> client to request recurrance expansion for a range of dates,
> and for the server to be able to respond "no". (Then the
> client just has to download the recurring items). That
> flexibility on the server allows it to tune for the best
> performance, both CPU and on the wire.
Yeah, but every extra bit of flexibility in the protocol makes
for more cases to test for interop--and it's a combinatorial
problem, not linear.
--
/==============================================================\
|John Stracke | http://www.ecal.com |My opinions are my own.|
|Chief Scientist |=============================================|
|eCal Corp. |"Time is money, and price is information." |
|francis@ecal.com|--Russ Nelson |
\==============================================================/