Re: pop3: avoid fetching a mail twice

Luke Ehresman <[email protected]>
Newsgroups gmane.mail.libetpan.user
Message-ID <[email protected]>
The project I am working on is called Aeromys.  I'm doing it as research for
my PhD dissertation.  The area of interest that I am focusing on is using
some modern filesystem caching techniques to intelligently predict
information that users will want to fetch from the IMAP server.  Thus, I'm
implementing an predictive caching algorithm.  It would just be simpler for
me to have full control over all of the mail cache so I can cache and expire
data as needed.

Luke


On Mon, May 02, 2005 at 03:58:39PM +0200, DINH Viêt Hoà wrote:
> Luke Ehresman wrote :
> 
> > Can I assume from this response that the mailmap_* functions also do no
> > caching?  They are just low-level functions that fetch information from the
> > IMAP server?  I loved libEtPan before, but now I think it is the best thing
> > since sliced bread.  This is exactly what I was needing.  I have wanted to
> > handle the caching myself in my application, but I thought I was going to
> > have to live with the fact that both libEtPan and my app would retain
> > caches.  These low-level functions are *exactly* what I needed.  Thanks for
> > such a well-designed library.
> 
> You can assume that.
> 
> As additional information, even at higher-level API, you can choose not 
> to cache the information: you have a flag 'cache' when creating the 
> mailstore. At worse, there will be a memory cache for the message you 
> are currently working with, but it won't be the case for IMAP 
> implementation of the high-level API.
> => You don't need to use mailimap_* to avoid the use of the cache.
> 
> Then, you won't have to rewrite everything.
> 
> For information, why did you plan to do the cache yourself ?
> 
> -- 
> DINH Viet Hoa
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.
> Get your fingers limbered up and give it your best shot. 4 great events, 4
> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
> _______________________________________________
> Libetpan-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libetpan-users


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.