Extra Header field

Stuart K. Bingë omicron-list at mighty.co.za
Mon Jul 12 18:27:26 CEST 2004


On Monday, 12 July 2004 18:16, Bernhard Reiter wrote:
> On Monday 12 July 2004 17:23, Stuart K. Bingë wrote:
> > On Monday, 12 July 2004 17:00, Martin Konold wrote:
> > > > Due to the discontinuity of web-based applications this process
> > > > entails two IMAP passes for me - on the second run I do however know
> > > > the UID of the object that needs to be loaded, and it would really be
> > > > ideal to just do an IMAP search with SUBJECT "uid" to quickly find
> > > > the appropriate email.
> > >
> > > No, I don't like this as it puts a lot of load on the server and
> > > therefore limits scalabilty.
> >
> > Excuse me? Please explain how, while searching for a specific message,
> > loading and parsing the contents of every message in a mailbox puts
> > *less* load on the server than a SEARCH & FETCH command sequence?
>
> When you completely do the indexes and searching on the client
> the server get no additional load. search and fetch would pose massive
> load.

Yes, I completely agree with that. However unfortunately I cannot do this 
without major restructuring of the Horde code. You must remember that I am 
working in a web-based environment - I am not afforded the same luxuries as 
the native client guys.

> > > BTW: Does your code have any race conditions with regards to the double
> > > parsing?
>
> I think Martin refers to the parsing of one message.
> There is no nead to reread the  message for the second parse, I assume.

Yes there is a need to re-read the message, as I have no way to save messages 
across page loads.

Well, unless I save them in the session variables, which means the server will 
inevitably run out of memory as I would have to store all messages that I 
read, for every mailbox that every user of the webclient accesses, while 
keeping them resident for a reasonable time period (as I have no idea when 
the next page load will be).

:-/

All I know when I obtain a "read object" request is the UID of the object that 
needs to be loaded.

-- 
Stuart Bingë
Code Fusion cc.

Office: +27 11 673 0411
Mobile: +27 83 298 9727
Email: s.binge at codefusion.co.za

Tailored email solutions; Kolab specialists.
http://www.codefusion.co.za/




More information about the format mailing list