Re: troll performance questions

Chuck Hagenbuch <[email protected]> Fri, 10 Jan 2003 13:46:35 -0500
Newsgroups gmane.comp.horde.troll
Message-ID <[email protected]>
Quoting Eric Rostetter <[email protected]>:

> I agree with this, but it seems from reading the old postings to the list
> the Chuck was very much interested in using the imap proxy, and not using
> native nntp calls.  I didn't see any rebutals.  So I assumed staying with
> imap proxy was the charted path.
> 
> I can see why it is desirable from a a conceptual point of view to use
> the imap proxy code.  I can also see, from experience, that doing it with
> more native nntp calls should be faster.  The question is, what is the
> direction troll should go?

The c-client library that PHP links against supports NNTP. My impression is
that this is a protocol driver, not proxied, and so it *should* be fast if
we make other factors fast. Using IMAP to proxy against an NNTP server for
purposes of storing read messages I can *definitely* see being slow.

I'd like to rip the proxying (through another IMAP server) out of Troll, but
still use the imap_* functions to perform most NNTP functions. Does that
make sense? Do others have a different view of the imap_* NNTP support?

> Yes, there is interest, but I think some of us interested in it lack
> the "overall plan" of where it is expected to be headed, and hence while
> I've studied the code for 3 days now, I've been hesitent to actually work
> on any changes, not knowing what direction it should be moving in.
> 
> So, are we trying to move to all imap calls (like Chuck said), all
> nntp (either nntp or nnrp classes), or a mixture of them?

Hopefully the above will help with this. I'd like to see this become a
fairly full-featured newsreader; I'd also be very interested in it
supporting meta-features that could be used to have it be more of a forum
client (using a local-only newsserver).

That help? If you're bored, cleaning up the compose/posting code to use more
libs from IMP would be a great thing to do. :)

-chuck

--
Charles Hagenbuch, <[email protected]>
must ... find ... acorns ... *thud*

-- 
Troll mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]