Gnus development mailing list
 help / color / mirror / Atom feed
From: prj@po.cwru.edu (Paul Jarc)
Cc: ding@gnus.org
Subject: Re: can back end keep track of *all* group info?
Date: Sun, 23 Dec 2001 17:25:54 -0500	[thread overview]
Message-ID: <m33d21inef.fsf@multivac.cwru.edu> (raw)
In-Reply-To: <kg6ellnx0ou.fsf@lisboa.ks.uiuc.edu> (Paul Grayson's message of "21 Dec 2001 23:50:57 -0600")

Regarding the subject: backends can store articles and marks, but not
group parameters.  At least, not as well.

Paul Grayson <pgrayson+ding@ks.uiuc.edu> wrote:
> I'm writing a simple server that will allow me to access a huge
> maildir (10,000+ messages).

You might have a look at nnmaildir.  It's in CVS now and is documented
(for now) at <URL:http://multivac.cwru.edu./nnmaildir/>.

> I split the messages virtually - my server applies splitting rules
> *while* you browse through your mail.

nnmaildir doesn't mind if you do that.

> My server keeps track of marks,

nnmaildir also does that.  Without knowing how your server does it,
it's tough to say how hard it would be to hook them together.

> I don't want my server to count the total number of messages in a
> group - that will take too long -

nnmaildir keeps a list of articles (not their contents, though) in
memory for each group.  I suppose that might be a problem for you.

> and I want to avoid the nnimap problem of always having the
> unread/flagged count out of sync with the server.

nnmaildir renumbers its articles when you close and reopen the server,
so those counts aren't so far off.  The price of this is that
nnmaildir doesn't work with the Gnus Agent or cache.

> I love everything Gnus does, and really want to use it as a front end
> to this server - is there any way to write it a back end?

There's some material in the manual about the backend interface.
That's where I started when writing nnmaildir.

> I've experimented a little, and it seems that Gnus generally
> requests much more information than it uses, but checks too rarely
> (with, for example, nnchoke-request-update-info) to keep the
> information up-to-date.

Yes, it's noticeably skewed toward NNTP.


paul



      parent reply	other threads:[~2001-12-23 22:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-22  5:50 Paul Grayson
2001-12-22 12:20 ` Simon Josefsson
2001-12-24 18:57   ` Paul Grayson
2001-12-24 22:51     ` Simon Josefsson
2001-12-26 16:54       ` Paul Grayson
2001-12-26 18:17         ` Simon Josefsson
2001-12-22 21:02 ` Kai Großjohann
2001-12-22 22:32   ` Simon Josefsson
2001-12-23 10:19     ` Kai Großjohann
2001-12-23 22:18     ` Paul Jarc
2001-12-23 22:25 ` Paul Jarc [this message]

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=m33d21inef.fsf@multivac.cwru.edu \
    --to=prj@po.cwru.edu \
    --cc=ding@gnus.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;
as well as URLs for NNTP newsgroup(s).