[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kolab-devel
Subject:    Re: [Kolab-devel] 10.000 events in a Resource Calendar
From:       Aleksander Machniak <machniak () kolabsys ! com>
Date:       2012-05-20 6:06:23
Message-ID: 4FB889DF.6060305 () kolabsys ! com
[Download RAW message or body]

On 05/19/2012 01:10 PM, Jeroen van Meeuwen (Kolab Systems) wrote:

> To that end, I was wondering if there's a way to do this more
> efficiently than;
> 
> 1) Obtain *all* event objects,
> 2) Parsing *all* of them one by one,
> 3) Until I find a conflict or run out of events.

Two ideas:

1. Get objects in chunks starting from the newest. This would at least
improve memory consumption and will be faster in case when there's a
conflict.
2. Store event dates in X-Kolab header of the message and FETCH this
data only. For recurring events we would need more data in headers.

-- 
Aleksander Machniak
Software Developer
Kolab Systems AG: http://kolabsys.com
PGP: 19359DC1

_______________________________________________
Kolab-devel mailing list
Kolab-devel@kolab.org
https://www.intevation.de/mailman/listinfo/kolab-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic