Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: Matthias Vallentin <vallentin@ICSI.Berkeley.EDU>
To: James Taylor <james@jamestaylor.org>
Cc: sup-talk <sup-talk@rubyforge.org>,
	Ben Walton <bwalton@artsci.utoronto.ca>
Subject: Re: [sup-talk] current state of synching upstream?
Date: Sat, 18 Dec 2010 11:04:27 -0800	[thread overview]
Message-ID: <20101218190427.GU60419@icsi.berkeley.edu> (raw)
In-Reply-To: <1292649662-sup-8863@jamestaylor.org>

On Sat, Dec 18, 2010 at 05:25:05AM +0000, James Taylor wrote:
> Neither. The imap clients are read write, the only time this becomes a
> problem is when the imap client moves a message from new to cur. 

Is that the only operation the imap clients do? What happens if they
delete messages (or moved them to another source) and sup has that
message already in the index.

> Sup will not be able to find the message until the next time it polls
> (but this is mostly seamless, if I use the imap client I just poll and
> refresh in sup). This does imply that sup must be polling cur as well
> as new.

If sup polls both cur and new then there is no more benefit in keeping
new small to avoid long poll times for large maildirs. 

This brings me to my main sup question. What is the best strategy to
avoid overly large maildirs? Say I have around 10 maildirs, each of
which represent a separate source. The classic scheme that comes to mind
(and that I use with Mutt and Mairix) would be some horizontal
partitioning scheme according to time, i.e., creating a new tree of
maildirs at a certain time interval (e.g., quarterly could imply a
naming scheme for the top-level directories like mail-2010-1 to
mail-2010-4). Then, only the most recent partition needs to be polled.

The downside appears to be that each rotation adds, in the above
example, 10 new source entries to sources.yaml and requires switching
of polling in the non-current sources.

Does that sound tractable and aligned with sup's mail philosophy? 

   Matthias
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


  reply	other threads:[~2010-12-18 19:16 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-08  9:40 Ryan Barrett
2010-04-11 17:52 ` Ryan Barrett
2010-04-12  0:57 ` Rich Lane
2010-04-12  5:02   ` Andrew Pimlott
2010-04-12 12:11     ` Daemian Mack
2010-04-12  9:53   ` Tero Tilus
2010-04-14 13:00   ` William Morgan
2010-04-14 14:16     ` Ben Walton
2010-04-14 15:57       ` William Morgan
2010-04-14 16:08         ` Ben Walton
2010-12-15  8:19           ` Matthias Vallentin
2010-12-15 17:06             ` James Taylor
2010-12-18  5:12               ` Matthias Vallentin
2010-12-18  5:25                 ` James Taylor
2010-12-18 19:04                   ` Matthias Vallentin [this message]
2010-12-18 19:21                     ` Ben Walton
2010-12-18 20:02                       ` Tero Tilus
2010-12-18 20:12                         ` Ben Walton
2010-12-21  6:44                       ` Matthias Vallentin
2010-12-21  6:48                         ` Matthias Vallentin
2010-12-21 11:01                         ` Tero Tilus
2010-12-21 14:11                           ` Ben Walton
2010-12-22 14:42                             ` Matthias Vallentin
2010-12-22 16:27                               ` Tero Tilus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101218190427.GU60419@icsi.berkeley.edu \
    --to=vallentin@icsi.berkeley.edu \
    --cc=bwalton@artsci.utoronto.ca \
    --cc=james@jamestaylor.org \
    --cc=sup-talk@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox