Thread View: news.software.nntp
4 messages
4 total messages
Started by D. Stussy
Sat, 13 Dec 2008 00:09
Overview generation - internal or external?
Author: D. Stussy
Date: Sat, 13 Dec 2008 00:09
Date: Sat, 13 Dec 2008 00:09
24 lines
2157 bytes
2157 bytes
As it exists now, INN has both abilities - to generate the overview (needed for readers) internally, and to generate it externally via the overchan program. However, do we really need both methods? Can the overview code be stripped to make the core of innd faster (or the ability to make a compile-time choice, thus resulting in a faster innd which compiled out)? Advantage of internal method: All the fields are already parsed. Disavantage: It may slow down feeding or receiving of feeds. Advantage of external method: The operation may be buffered and performed during idle I/O times. Disavantage: The overchan program has to re-parse (separate) the fields. However, not a full parsing as the feeds process has pre-parsed some of it. There may be a delay of the appearance of messages to readers. It is suggested that for a system to decide which is better that one review the timings reported in the system log (or innreport). However, no metrics or guidelines are given to suggest at which point a change from one method to the other should be made. Is there a general guideline somewhere?
Re: Overview generation - internal or external?
Author: Russ Allbery
Date: Sat, 13 Dec 2008 00:39
Date: Sat, 13 Dec 2008 00:39
19 lines
1826 bytes
1826 bytes
"D. Stussy" <spam@bde-arc.ampr.org> writes:
> Advantage of external method: The operation may be buffered and
> performed during idle I/O times.
> Disavantage: The overchan program has to re-parse (separate) the
> fields. However, not a full parsing as the feeds process has
> pre-parsed some of it. There may be a delay of the appearance of
> messages to readers.
Disadvantage: The writing of the overview record is not synchronous with
the availability of the article, leading to race conditions that cause
clients to think the article doesn't actually exist and then never
displaying it to readers.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Overview generation - internal or external?
Author: D. Stussy
Date: Sat, 13 Dec 2008 05:49
Date: Sat, 13 Dec 2008 05:49
24 lines
2076 bytes
2076 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message news:87abb0nc0x.fsf@windlord.stanford.edu... > "D. Stussy" <spam@bde-arc.ampr.org> writes: > > Advantage of external method: The operation may be buffered and > > performed during idle I/O times. > > Disavantage: The overchan program has to re-parse (separate) the > > fields. However, not a full parsing as the feeds process has > > pre-parsed some of it. There may be a delay of the appearance of > > messages to readers. > > Disadvantage: The writing of the overview record is not synchronous with > the availability of the article, leading to race conditions that cause > clients to think the article doesn't actually exist and then never > displaying it to readers. OK. I thought I said that when I referred to a delay. Isn't language wonderful? It looks as if you're saying that there's actually a flaw in the system, not simply an issue of timeliness.
Re: Overview generation - internal or external?
Author: Russ Allbery
Date: Sat, 13 Dec 2008 06:07
Date: Sat, 13 Dec 2008 06:07
22 lines
1975 bytes
1975 bytes
"D. Stussy" <spam@bde-arc.ampr.org> writes:
> "Russ Allbery" <rra@stanford.edu> wrote:
>> Disadvantage: The writing of the overview record is not synchronous
>> with the availability of the article, leading to race conditions that
>> cause clients to think the article doesn't actually exist and then
>> never displaying it to readers.
> OK. I thought I said that when I referred to a delay. Isn't language
> wonderful?
>
> It looks as if you're saying that there's actually a flaw in the
> system, not simply an issue of timeliness.
Yup, the client marks the apparently non-existent message as read and then
never tries again, so the user never sees it.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads