[pmmail-list] time to clear trash - performance
Frank Winkler @home
pmmail-list@blueprintsoftwareworks.com
Sat, 13 Oct 2001 12:35:01 +0200 (CEST)
On Sat, 13 Oct 2001 00:54:35 -0700 (PDT), Kris Sorem Sr wrote:
>>Nearly perfect - just omit the temporary file and keep this information in
>>memory. Write it to the bag file afterwards.
>
>Thanks, Frank. I considered your option but opted to suggest a temp file
>for safety and recovery. Memory is volatile and would require restart of
>the entire process in the event of an abnormal exit. The temp file is not
>wasted. It would become the 'new' bag file for the Trash folder. It would
>also permit restart at the point of abnormal exit. Use of memory would
>still require the extra step of dumping memory to a 'new' bag file anyway.
I'm sure that the memory approach would be much faster as it had to do just one
file system access intead of one per message. Though you're basically right I
don't see the need to emphasize consistency in the trash folder as it could be
easily retained by a re-index in case of urgency. And as the probability for an
abnormal exit is rather small I'd strongly prefer the performance issue.
Regards
--
----------------------------------------------------------------------------
Frank Winkler frank@consol.de
ConSol GmbH
Franziskanerstr. 38 Voice +49 89 45841.275
81669 Munich - Germany Fax +49 89 45841.189
- pmmail-list - The PMMail Dicussion List ---------------------------
To POST to the list, send your message to:
pmmail-list@blueprintsoftwareworks.com
To UNSUBSCRIBE, send a message to mdaemon@bmtmicro.com with the first
line of the message body being...
UNSUBSCRIBE pmmail-list@blueprintsoftwareworks.com
---------------------------------------------------------------------