🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
26 messages
26 total messages Started by cengiz Thu, 15 Apr 1999 00:00
Re: Abandoning uniover - but how?
#36601
Author: cengiz
Date: Thu, 15 Apr 1999 00:00
54 lines
3299 bytes
In a previous article, Mark Hittinger <bugs@freebsd.netcom.com> writes:
>cengiz@netmar.com writes:
>>with 300 articles in it, rather than just reading down a .overview as in
>>traditional storage, nnrpd now reads the history offset from .overview.index,
>>then reads the overview offset from the history file, then finally gets the
>>overview information from the appropriate overview file, then proceeds to do this
>>299 more times.
>>  Someone please tell me I'm misunderstanding how this works.
>
>That is very close.  You forgot to mention that most of those reads will be

That's what I was afraid of.  The next obvious question is, "Who the heck
decided that this would be better than putting a whole group's overview data
in files like in traditional?"

>real disk hits rather than pulling in some data that is already cached in
>memory.  This is bad news on local disks and a disaster on NFS mounted spool.
>The 300 data records are not contiguous but are scattered all over the place.

Oh, there's the overview.index files, now.  But then it's all downhill from
there.

But seriously, the method must provide SOME advantage, right?  Why else would
it have been implemented?

>I had wanted the INN developers to "wrap" the routines for overview so that
>we could bolt in new modules for overview.  We went through some pain and
>reorganization to get to a fairly reasonable storage API for the articles
>themselves, but the overview portion does not have a good API.  Much of the
>code to deal with overviews (especially in nnrpd) is setting outside rather
>than behind an API (and it keeps getting more hackified outside - especially
>in nnrpd).
>
>A good API for overview would allow those of us who fool with alternatives
>to do so in a less messy way.  Right now we have to hack code in overchan,
>storage api, innd, nnrpd, and even cancelchan-of-the-day.

This implies that people (including yourself) are hacking at this.  Is there
code I could get my hands on, anywhere that you know of?

>Unified overview believers should be forced to keep their hacks and experiments

Aha!  Proof that it must have SOME advantages.  Otherwise, there wouln't BE any
believers, eh?

-Cengiz


      -----  Posted via NewsOne.Net: Free Usenet News via the Web  -----
      -----  http://newsone.net/ --  Discussions on every subject. -----
   NewsOne.Net prohibits users from posting spam.  If this or other articles
 posted through NewsOne.Net violate posting guidelines, email abuse@newsone.net

Re: Abandoning uniover - but how?
#36632
Author: Russ Allbery
Date: Thu, 15 Apr 1999 00:00
14 lines
1009 bytes
cengiz <cengiz@netmar.com> writes:

> But seriously, the method must provide SOME advantage, right?  Why else
> would it have been implemented?

It dramatically increases the speed at which the machine can accept
articles.  If you use traditional overview with CNFS, you'll find that
overchan can't keep up with the article storage (or at least that's been
the reported experience).

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Abandoning uniover - but how?
#36654
Author: T. William Wells
Date: Thu, 15 Apr 1999 00:00
18 lines
1347 bytes
In article <yl1zhlii6z.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
: It dramatically increases the speed at which the machine can accept
: articles.  If you use traditional overview with CNFS, you'll find that
: overchan can't keep up with the article storage (or at least that's been
: the reported experience).

Then again, the standard overchan (pre 2.x) does one open/close
per overview record. I got much better performance by LRU caching
open file pointers.

Even better performance could be obtained by batching the overview
data, sorting it, then distributing it to the overview files. I
batch overview processing anyway, as the 2.x overchan still
corrupts the overview database on occasion and often can't keep up
anyway.

Re: Abandoning uniover - but how?
#36718
Author: T. William Wells
Date: Sat, 17 Apr 1999 00:00
15 lines
1222 bytes
In article <7fa7l0$pbv@bigred.inka.de>, Olaf Titz <olaf@bigred.inka.de> wrote:
: There is actually a good reason for unified overview. Look at what
: happens with traditional overview in crosspostings to N groups: the
: overview record has to be appended to N overview files. This hurts
: both performance and disk space.

This saves 20% in the writing of overview entries, if that. OTOH,
the uniover method, even if the need to reference the history file
were eliminated, requires scattered reads of entire newsgroups'
data, not to mention the index step.

Does the phrase "measurement before optimization" mean anything to
anyone, anymore???

Re: Abandoning uniover - but how?
#37060
Author: T. William Wells
Date: Tue, 27 Apr 1999 00:00
63 lines
3500 bytes
In article <19990427104942.033$2b@newsreader.com>,
Curt Welch <curt@kcwc.com> wrote:
: bill@twwells.com (T. William Wells) wrote:
: > In article <7fa7l0$pbv@bigred.inka.de>, Olaf Titz <olaf@bigred.inka.de>
: > wrote:
: > : There is actually a good reason for unified overview. Look at what
: > : happens with traditional overview in crosspostings to N groups: the
: > : overview record has to be appended to N overview files. This hurts
: > : both performance and disk space.
: >
: > This saves 20% in the writing of overview entries, if that.
:
: I bet it does a hell of a lot more than that.

The referent of "this" is the purported saving in avoiding dealing
with cross-posting, not the savings of the entire method.

: With the 2.x design, most
: overview appends will end up wirting to a disk block which is already
: cached in memory (because of the small number of overview files being
: written to).

The 1.x design and the 2.x design *do not* differ in this respect.
In the 1.x design, overview records are directly written to random
overview files. In the 2.x design, overview records are written to
a small number of files -- and the *index* records are written to
files which are organized just as the 1.x files were. The net
result is the same number of files being handled *plus* an
additional file or so for the overview data.

And as a matter of cold fact, the 2.x overview method is quite as
capable of falling behind as the 1.x overview method. I saw my
share of overchan! entries in my spool directory....

: But when you start to write overview records to a different file for
: each group - you force the system to open, append, and close every overview
: file for every write.

As I said, the 2.x method does this anyway. It just does it with
the index records instead of the overview data.

: However, I (like others) must have good overview read response times.  So
: the new system - even though it really flys when receiving news, just isn't
: workable.

The new system flies because of CNFS, not because of the overview
changes.

: In answering the original questions - I have no idea what it takes to "fix"
: inn 2.x.  Your best bet is probably to just run the old inn - unless you
: are willing to take the time to fix 2.x yourself.

The latter is not practicable -- 1.x is simply not capable of
handling modern feed volumes on anything I'd consider reasonable
hardware. I personally think that the 1.x overchan, with a few
modifications like open file caching, and running it from cron
rather than a channel feed, is more than sufficiently efficient.
OTOH, I can think of several alternative methods, right off the
top of my head, that have the advantages of the 1.x along with the
purported advantages of the 2.x method. Heck, maybe after dinner,
I'll sketch out one or two....

Re: Abandoning uniover - but how?
#37074
Author: Curt Welch
Date: Tue, 27 Apr 1999 00:00
62 lines
3752 bytes
bill@twwells.com (T. William Wells) wrote:
> In article <7fa7l0$pbv@bigred.inka.de>, Olaf Titz <olaf@bigred.inka.de>
> wrote:
> : There is actually a good reason for unified overview. Look at what
> : happens with traditional overview in crosspostings to N groups: the
> : overview record has to be appended to N overview files. This hurts
> : both performance and disk space.
>
> This saves 20% in the writing of overview entries, if that.

I bet it does a hell of a lot more than that.  With the 2.x design, most
overview appends will end up wirting to a disk block which is already
cached in memory (because of the small number of overview files being
written to).  And those files (I assume) are always open so the inode
is cached in memory as well as indirect blocks if needed.

But when you start to write overview records to a different file for
each group - you force the system to open, append, and close every overview
file for every write.  With 30K to 80K groups you end up with way too many
disk blocks for most systems to cache - so you end up doing a hell of a lot
more disk reads and writes as you update all those overview files.  When
you add to that the overhead of dealing with spam cross-posted to 20+
groups, you find you have a lot more overhead generated when you try to do
it the old way.

> OTOH,
> the uniover method, even if the need to reference the history file
> were eliminated, requires scattered reads of entire newsgroups'
> data, not to mention the index step.
>
> Does the phrase "measurement before optimization" mean anything to
> anyone, anymore???

You have to pay for it somewhere.  You either have to do scattered
writes when you receive the news or scattered reads when you generate
the overview responses.  And because most the news on most news systems
is never read - you end up saving the most by putting the work off until
read time.

However, I (like others) must have good overview read response times.  So
the new system - even though it really flys when receiving news, just isn't
workable.

If you have lots of memory (for cache), and your spool isn't all that
large, then the new 2.x isn't all that bad.  But with lots of very large
groups and lots of readers, the new inn takes forever to answer overview
requests.

You either can do it the old way - and make sure you have enough disk and
CPU bandwidth for the server to keep up.  Or you do something more complex
like caching overview responses or only pre-building overview files for
groups which are read on your server etc.

In answering the original questions - I have no idea what it takes to "fix"
inn 2.x.  Your best bet is probably to just run the old inn - unless you
are willing to take the time to fix 2.x yourself.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: Abandoning uniover - but how?
#37096
Author: T. William Wells
Date: Wed, 28 Apr 1999 00:00
106 lines
5589 bytes
In article <19990428114141.388$tD@newsreader.com>,
Curt Welch <curt@kcwc.com> wrote:
: bill@twwells.com (T. William Wells) wrote:
: Well, you are right.  I didn't think about that.  So 2.x has to actualy
: deal with more file updates.

In total number, yes.

: But, I'm assuming the index records are very small compared to an avg
: overview record.

That is correct.

: I wonder which design ends up writing more data?

Not a wholly relevant datum, since in either case overview writes
are dominated by the time needed to open and close the overview or
overview index file. The performance gain can only be marginal at
best, while the performance loss at read is dramatic.

: The other big problem for me with 2.x was that it wasn't updating the
: overview to reflect canceled articles.  Canceled articles still showed
: up in the overview data.  Has that been fixed yet?

Who knows? 1.x didn't do this, however. (Well, maybe it did on
expire.) However, 1.x actually checked the spool to determine if
the article was there, so this didn't matter for it.

: > I personally think that the 1.x overchan, with a few
: > modifications like open file caching, and running it from cron
:
: Not sure what you are thinking of when you say running from
: cron

On my system, the overview data is sent to a file where a shell
script picks it up and feeds it to overchan. The script is
basically "while there is overview data and the server is running,
get us a work file, feed it to overchan, and delete the work
file", which means that the script is more or less constantly
running; when it stops, cron starts it up a few minutes later.

: but one thing that needs to be dealt with is the issue
: of overview information showing up later than the article
: shows up.  i.e., if the group command returns a higher article
: number, then an overview commands shows no data for the article,
: newsreaders consider that to mean the article has been cancled.

1.x nnrp (and 2.x nnrp, if one isn't using the storage manager)
will build an overview record on-the-fly if there isn't one in the
overview database.

In any case, this would be a problem with _any_ overchan
implementation, since it writes the data sometime *after* innd has
written the article out (and thus possibly the active file data).

: > rather than a channel feed, is more than sufficiently efficient.
: > OTOH, I can think of several alternative methods, right off the
: > top of my head, that have the advantages of the 1.x along with the
: > purported advantages of the 2.x method. Heck, maybe after dinner,
: > I'll sketch out one or two....

Well, here's a proposal: Get rid of overchan entirely. Let nnrpd
have the responsibility of reading *and* creating the overview.
This would seem to be about as efficient as one can get, since
exactly those articles that need overview records get them and
none others do. In this method, the overview database is, in
essence, one big shared cache used exclusively by nnrpd.

There are a number of considerations:

1) If overview data is handled at article receipt time, there is a
good chance the article is in the disk cache, thus not requiring
yet more disk accesses to build the overview data. This is
somewhat countered by there being a reasonable chance that if the
article is read for creating overview data, the article is also
likely to be read (from the disk cache) in order to be sent to the
client.

2) If a group is very active but not read and then someone comes
along and reads it, that person is going to wait a long time (as
with the 2.x overview) for the overview data to be built. This can
be countered by a program that keeps track of group activity and
when it feels that a group is getting too far behind on overview,
just connects to nnrpd and issues the necessary XOVER commands.

3) Since nnrpd is now managing the overview database, it has to
handle locking between instances. The sequence needs to be
something like this: grab the lock, find the final record in the
overview file, scan the spool from that point, append records to
the overview file, release the lock. (You want to do the lock
before scanning the spool since otherwise several nnrpd's could
think they need to do a scan, at the same time.) Of course, this
requires a working lock method....

4) Something needs to be done about cancelled articles. Marking
the overview entry in-place would work, so long as it is done with
system writes and not standard I/O buffered writes. The mark would
occur when nnrpd tries to fetch the article and doesn't find it.
Since the write is in-place, no locking is needed for this.

5) There still needs to be an expire of some sort. This is a
little tricky to get right, especially on systems that don't have
an atomic rename. However, it can be done solely by examining the
active file and individual overview files.

Re: Abandoning uniover - but how?
#37102
Author: bill davidsen
Date: Wed, 28 Apr 1999 00:00
60 lines
4327 bytes
In article <19990428114141.388$tD@newsreader.com>,
Curt Welch <curt@kcwc.com> wrote:

| I gave up waiting for the inn guys to fix the overview problem and
| just decided to do it myself.  But instead of hacking fixes into inn
| I just decided to write my own server from the ground up.  That way
| I could fix everything I didn't like about the way inn worked as well
| as add in the other features that I needed.  I started on that last
| December and the server is running in beta test now.  It really wasn't as
| big of a project as I feared it might be.
| 
| I'm still working on the overview performance issue.  I currently don't
| build and save overview records when I receive news.  I build it on
| demand when users read the overview - but that of course is very slow for
| large groups.  I cache recently built overview records in memory so
| asking for the same overview records again is fast (even for different
| users) - and that's something my web interface does a lot of so that's a
| big win for my special case.
| 
| But to deal with the general issue, my current plan is to save batches
| of overview records (about 100 at a time) to disk after they have been
| created on demand.  I'm just going to write them to the CNFS-like bufs as
| "special" articles.  When a user requests overview data, it will come from
| the in-core cache if there, if not, the overview batches are read from the
| article buffers if they have been created, if not, then the overview data
| is just re-created from the articles (and saved as new batches at the same
| time).  Writing it to the article bufs means the data expires on it's own
| at a rate which is close to the rate the articles are expiring.  My design
| (like Typhoon) requires no external expire (or other clean-up jobs) to be
| run.  The server just keeps everying "clean" while it runs.  I really
| dislike the idea of having to run all the extera clean-up jobs that inn in
| all its forms requires.

There was a patch to 2.1 which did an embedded overview, but there were
some other issues with it, and it never got to 2.2. My recollevtion is
that it worked very well at both accepting articles and reading, but it
didn't work with xrefslave and {something}.

That code simply built the overview in memory until it was full and then
wrote out a block. I'm not sure how you would build overview on the fly
if you didn't save the info when you read the article, at least not
without rereading the whole spool. Perhaps some form of high water mark,
showing that the cycbuffs have been overviewed up to some point, and a
partial scan on startup after a dirty shutdown.

For incoming speed you want to write overview in order of article
reception, while for read speed you want to have a prebuilt list ala 1.x
which can just be thrown at the client. These seem to be somewhat
contradictory requirements, and I have often wondered how a B+ tree
would fare, since the top of the tree would always be in memory, and the
common stuff would be there too, in any reasonable disk caching scheme.
-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  One common problem is mistyping an email address and creating another
valid, though unintended, recipient. Always check the recipient's
address carefully when sending personal information, such as credit
card numbers, death threats or offers of sexual services.


Re: Abandoning uniover - but how?
#37116
Author: Curt Welch
Date: Wed, 28 Apr 1999 00:00
170 lines
9428 bytes
bill@twwells.com (T. William Wells) wrote:
> In article <19990427104942.033$2b@newsreader.com>,
> Curt Welch <curt@kcwc.com> wrote:
> : bill@twwells.com (T. William Wells) wrote:
> : > In article <7fa7l0$pbv@bigred.inka.de>, Olaf Titz
> : > <olaf@bigred.inka.de> wrote:
> : > : There is actually a good reason for unified overview. Look at what
> : > : happens with traditional overview in crosspostings to N groups: the
> : > : overview record has to be appended to N overview files. This hurts
> : > : both performance and disk space.
> : >
> : > This saves 20% in the writing of overview entries, if that.
> :
> : I bet it does a hell of a lot more than that.
>
> The referent of "this" is the purported saving in avoiding dealing
> with cross-posting, not the savings of the entire method.

Yeah, I realized the weakness in that point.  I commented on the
cross posting issue and then talked about the other issues.  You
got me there...

I guess I started the reply because it seems to me that the cross
posting would actualy cause more of a problem than 20%.

Digging for some numbers, I find in my current spool, I have 10.7 million
unique articles posted 16.3 million times.  So for that mix, it's a 52%
problem.  But I have different retention times for different articles, so
it's hard to know from that what the true avg cross posting for a day
is.  Maybe 20% is right?  But it still seems low to me.

Control messages which only get cross-posted to a single group are retained
for a much shorter period - so that would make my 52% number too high (but
my control.cancel does contain 688K articles right now which are included
in that 52% number).  And binary postings - which tend to contain lots of
cross-posted messages are also retained for shorter periods so that would
make my 52% number low.

> : With the 2.x design, most
> : overview appends will end up wirting to a disk block which is already
> : cached in memory (because of the small number of overview files being
> : written to).
>
> The 1.x design and the 2.x design *do not* differ in this respect.
> In the 1.x design, overview records are directly written to random
> overview files. In the 2.x design, overview records are written to
> a small number of files -- and the *index* records are written to
> files which are organized just as the 1.x files were. The net
> result is the same number of files being handled *plus* an
> additional file or so for the overview data.

Well, you are right.  I didn't think about that.  So 2.x has to actualy
deal with more file updates.

But, I'm assuming the index records are very small compared to an avg
overview record.  I wonder which design ends up writing more data?
How big are the index records?  2.x has to write the extra index records
for each cross posted article but it saves space by only writing the single
overview record.  Even with the extra files to deal with, 2.x could still
be a performance win (on writing) if there is enough cross posting going
on.

The other big problem for me with 2.x was that it wasn't updating the
overview to reflect canceled articles.  Canceled articles still showed
up in the overview data.  Has that been fixed yet?

> And as a matter of cold fact, the 2.x overview method is quite as
> capable of falling behind as the 1.x overview method. I saw my
> share of overchan! entries in my spool directory....

I saw that to.  But with 2.x it was happening while the server was
receiving 60 articles per second and with 1.7.2 it happened when the
server was receiving about 20 articles per second.  But like you said
below, that's could simply be caused by CNFS than with the overview issues.

> : But when you start to write overview records to a different file for
> : each group - you force the system to open, append, and close every
> : overview file for every write.
>
> As I said, the 2.x method does this anyway. It just does it with
> the index records instead of the overview data.

Can't argue with you there...

> : However, I (like others) must have good overview read response times.
> : So the new system - even though it really flys when receiving news,
> : just isn't workable.
>
> The new system flies because of CNFS, not because of the overview
> changes.

For sure.  CNFS is the big win.

> : In answering the original questions - I have no idea what it takes to
> : "fix" inn 2.x.  Your best bet is probably to just run the old inn -
> : unless you are willing to take the time to fix 2.x yourself.
>
> The latter is not practicable -- 1.x is simply not capable of
> handling modern feed volumes on anything I'd consider reasonable
> hardware.

I too had the same feelings.  I just didn't want to spend my hardware
dollars on a system to support 1.x when there were options to make
it run so much faster with much less hardware. (or to get so much
more performance and lifespan out of the same hardware).

> I personally think that the 1.x overchan, with a few
> modifications like open file caching, and running it from cron

Not sure what you are thinking of when you say running from
cron - but one thing that needs to be dealt with is the issue
of overview information showing up later than the article
shows up.  i.e., if the group command returns a higher article
number, then an overview commands shows no data for the article,
newsreaders consider that to mean the article has been cancled.
And if it happens because the overview data just hasn't been
created yet - then it's a clear bug in my eyes.  So if you are
thinking of a process which does batch creation of overview data
at a later (even if only by a few seconds) time, then the nnrpd
code needs to "hide" that from the user by creating the overview
data on the fly for the few new articles which haven't had their
overivew data updated yet.  Either that or the article counts from
the active file should not be updated until the overview data is
created (which requires to high-water marks in the active file).

> rather than a channel feed, is more than sufficiently efficient.
> OTOH, I can think of several alternative methods, right off the
> top of my head, that have the advantages of the 1.x along with the
> purported advantages of the 2.x method. Heck, maybe after dinner,
> I'll sketch out one or two....

I gave up waiting for the inn guys to fix the overview problem and
just decided to do it myself.  But instead of hacking fixes into inn
I just decided to write my own server from the ground up.  That way
I could fix everything I didn't like about the way inn worked as well
as add in the other features that I needed.  I started on that last
December and the server is running in beta test now.  It really wasn't as
big of a project as I feared it might be.

I'm still working on the overview performance issue.  I currently don't
build and save overview records when I receive news.  I build it on
demand when users read the overview - but that of course is very slow for
large groups.  I cache recently built overview records in memory so
asking for the same overview records again is fast (even for different
users) - and that's something my web interface does a lot of so that's a
big win for my special case.

But to deal with the general issue, my current plan is to save batches
of overview records (about 100 at a time) to disk after they have been
created on demand.  I'm just going to write them to the CNFS-like bufs as
"special" articles.  When a user requests overview data, it will come from
the in-core cache if there, if not, the overview batches are read from the
article buffers if they have been created, if not, then the overview data
is just re-created from the articles (and saved as new batches at the same
time).  Writing it to the article bufs means the data expires on it's own
at a rate which is close to the rate the articles are expiring.  My design
(like Typhoon) requires no external expire (or other clean-up jobs) to be
run.  The server just keeps everying "clean" while it runs.  I really
dislike the idea of having to run all the extera clean-up jobs that inn in
all its forms requires.

I think that solution will give me both the performance I need and be
fairly simple at the same time in terms of how complex the code will
be.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: Abandoning uniover - but how?
#37196
Author: bill davidsen
Date: Mon, 03 May 1999 00:00
42 lines
2993 bytes
Let me throw up a few thoughts about overview.

1 - Any method which does not have overview in handy chunks ready for
sending to the client is going to have both high overhead and poor
performance to XOVER, relative to "one file in wire format" as was done
in 1.x. The effect is probably in proportion to the size of the range
being requested. 

2 - Any method which does not have the overview asynchronous with the
articles will generate phantom missing articles for the readers, in
which the articles available from active don't match the articles
available from overview. The client sees no overview for recent posts
and assumes them canceled. The reader never sees them.

3 - any overview method which doesn't process cancels asynchronously will
generate requests for missing articles. For my readers at least, this is
a source of a lot of irritation. This applies to expire as well,
overview should exactly match the articles available.

4 - expire has got to be replaced by some process which can be run
continuously. This applies to history and overview, and will allow more
scaling of news. Fortunately, this isn't causing major user visible
problems now, but it does suggest that if a history solution could be
bundled with an expire solution life might be better for news admins.

5 - It is highly desirable to have overview able to accept articles in
an arbitrary order. This facilitates both xrefslave feeds and any future
multi threaded incoming feed scheme, in that as long as article numbers
are unique there is not a significant performance penalty.


I have some thoughts on addressing these points, but I'm going to wait
and see if some other folks will either propose solutions or convince me
that these aren't the real problems.
-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  One common problem is mistyping an email address and creating another
valid, though unintended, recipient. Always check the recipient's
address carefully when sending personal information, such as credit
card numbers, death threats or offers of sexual services.

Re: Abandoning uniover - but how?
#37214
Author: bill davidsen
Date: Tue, 04 May 1999 00:00
40 lines
2709 bytes
In article <7gn3tf$jk1$1@twwells.com>,
T. William Wells <bill@twwells.com> wrote:
| In article <slrn7iu3fa.1i7.usenet@luser.oneill.net>,
| Clayton O'Neill <usenet@oneill.net> wrote:

| : Also, if you
| : write the overview at article write time then you don't have to read the
| : article again.
| 
| This one, I *did* address: If you create the overview at nnrpd
| read time, odds are pretty damned good that that article is going
| to get read shortly. This has the same caching benefits as
| creating the overview at write time. The additional overhead, of
| moving the data from cache to process an extra time is not
| relevant; news servers aren't noted for being CPU bottlenecked.

I believe this contains several false assumptions. First, that the user
looking at the overview is a good predictor of reading the article. My
quick look seems to say that the average for that is only 40-60%, and
the rest of the articles are unread.

The other assumption is that any time is a good time to build overview.
In truth, virtually every server has reader load spikes, and the i/o
load of reading articles for overview is highest at just the worst time.
I have to have the article in memory once, to accept it, building the
overview then seems to be the best way to avoid ever having to read an
article from spool and not deliver it to the reader.

Note the large part of your post I didn't address, I agreed with most of
it and "did not disagree" with the rest.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  One common problem is mistyping an email address and creating another
valid, though unintended, recipient. Always check the recipient's
address carefully when sending personal information, such as credit
card numbers, death threats or offers of sexual services.


Re: Abandoning uniover - but how?
#37216
Author: bill davidsen
Date: Tue, 04 May 1999 00:00
28 lines
2172 bytes
In article <7gmvdt$fpn$1@twwells.com>,
T. William Wells <bill@twwells.com> wrote:

| As near as I can tell, both 1.x and 2.x overview can accept
| articles in any order. Certainly, there is no theoretical reason
| why either *must* accept the data in order. The only one I could
| think of would be that various parts of the code assume ordering
| of the overview data but from what I recall, they don't. (And
| can't, really, because overchan isn't really guaranteed to not
| write records out of order.)

They can accept, but nnrpd will not use. As I recall the overview is
scanned, and if it is out of order the info is rebuilt from the
articles. This results in heavy load, to the point that I had a program
which tracked which groups had gotten new posts since the last run and
sorted the overview for them.

It "works" fine, but the system load has a tendancy to get very high
fast. I haven't seen any problems with 2.x (yet).
-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  One common problem is mistyping an email address and creating another
valid, though unintended, recipient. Always check the recipient's
address carefully when sending personal information, such as credit
card numbers, death threats or offers of sexual services.


Re: Abandoning uniover - but how?
#37220
Author: T. William Wells
Date: Tue, 04 May 1999 00:00
30 lines
2169 bytes
In article <7gnnp1$53cc$1@newssvr03-int.news.prodigy.com>,
bill davidsen <davidsen@tmr.com> wrote:
: In article <7gn3tf$jk1$1@twwells.com>,
: T. William Wells <bill@twwells.com> wrote:
: | to get read shortly. This has the same caching benefits as
: | creating the overview at write time. The additional overhead, of
: | moving the data from cache to process an extra time is not
: | relevant; news servers aren't noted for being CPU bottlenecked.
:
: I believe this contains several false assumptions. First, that the user
: looking at the overview is a good predictor of reading the article. My
: quick look seems to say that the average for that is only 40-60%, and
: the rest of the articles are unread.

That rather depends on the newsreaders involved. Certainly at my
personal site, the numbers are in that direction but then I read
my news exclusively with trn. But from what I've seen most people
nowadays read news with readers that download every article that
hasn't been read, so that the user isn't forced to wait. Perhaps
what is needed are some number from different sorts of sites....

: The other assumption is that any time is a good time to build overview.
: In truth, virtually every server has reader load spikes, and the i/o
: load of reading articles for overview is highest at just the worst time.

There is that. This is also an argument for making overview
building asynchronous wrt article reception. If it synchronous, it
can't be deferred during reading peaks.

Re: Abandoning uniover - but how?
#37225
Author: Curt Welch
Date: Tue, 04 May 1999 00:00
102 lines
6516 bytes
cmsedore@my-dejanews.com wrote:

> Allow me to offer what I did in tortoise.  I wrote the overview entries
> (sans number) for each article ahead of the article in the article store.
> This meant that I could grab them anytime I wanted for any group to which
> it was posted by just looking it up.

So you just add the overview record as a new line in the front of the
article?  Does that really buy you anything?  Sounds to me like it just
mostly wastes disk space.  If you have to read the block to get that
overview data it's not going to be much (any?) faster than just reading
the entire header and rebuilding the overview record.  The much longer
delay there is the read -- not the parsing and constructing the overview
data.  Depending on how your article store works, you might have to read
a few more blocks to get the entire header, but in most cases, I'd expect
the entire header to fall into one block anyway.

> In addition, I wrote an overview caching mechanism, which operates in one
> of two ways.  The more traditional way is that it prebuilds data for each
> group as it receives articles.  It writes the cached data (the entire
> overview range) into a cyclical store, in blocks which are sized on 16k
> intervals. New articles are appended until the whole allocated space is
> full, then the whole block is rewritten to the current position in the
> store.

So you have one 16K block active in memory for each group?  16K x 30,000
groups is 480 Meg of memory - not a very small memory foot print eh?  Do
you always keep all those in memory or do you limit the memory usage
somehow - like by writing out cache block that haven't been accessed
recently?

It also can be set to rewrite the whole block periodically.  In
> most cases, the overview cache store is rewritten by reading in the
> current cache block, keeping the useful entries and tossing the rest
> (rather than seeking all over creation to get the entries from the
> article stores).  Updates happen in-place unless the current pointer is
> near, in which case they're appended to the current position in the
> store. Overview entries are always available from the article store, so
> even if they're not in the cache, they'll be pulled off disk so there's
> no gap.
>
> The other way that it can operate is to only cache overview information
> for groups which are read.  After the first xover, the overview cache is
> maintained until it expires (by being overwritten in the cyclical store).
> This methodology is extremely fast and resource efficient if you have
> somewhat consistent group readership patterns.
>
> > 4 - expire has got to be replaced by some process which can be run
> > continuously. This applies to history and overview, and will allow more
> > scaling of news. Fortunately, this isn't causing major user visible
> > problems now, but it does suggest that if a history solution could be
> > bundled with an expire solution life might be better for news admins.
>
> Overview expiration in the above scheme is automatic.

Yeah, that's sounds basically like what I'm (working on) doing - storing
the overview in a cyclic store -- in my case the article stores.

> I've gone to a
> cyclical history storage methodology, so I don't worry much about that.

My history file is a simple hashed file but each block acts as a cyclic
store.  The system is designed so the server "knows" what articles have
expired and what hasn't without having to do much work, so it's easy to
"expire" old entries from the history block as new entires are added.

So there's no external batch expire process either.  The history
file expands automatically as needed but once it's reached the required
size, each block is updated as new entries are added.

> > 5 - It is highly desirable to have overview able to accept articles in
> > an arbitrary order. This facilitates both xrefslave feeds and any
> > future multi threaded incoming feed scheme, in that as long as article
> > numbers are unique there is not a significant performance penalty.
>
> My scheme doesn't do so well with this.  If the cache code is asked to
> append something that's not the next article in the sequence, it
> overwrites the whole block to keep things consistent.  Sub-optimal, but
> functional.

I don't support any type of slaving mode currently but the server could
(I guess) deal with it - but i'm not yet caching xover data which is were
the more complex problems show up.  But to me, if articles show up out of
sequence when parsing Xref lines, you have a real problem anyway.
Newsreaders will get confused if they see those gaps - and the server can't
really hide the gaps unless it "knows" for sure the the source of the
articles will never leave a gap ... which means you can't deliver articles
in multiple parallel streams - which is hard to live without....

So, my current thought is to try and avoid the whole xref slave issue by
desiging the server in such a way that you won't ever need to run a farm of
slaved servers to support a large user base.  I basically split the server
up into multiple processes which can be distributed over a large number of
machines to support a very large user base (in theory).  But my current
implementation doesn't yet support a lot of the intended distributed
design so it's hard to say how well it will really work at this point.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: Abandoning uniover - but how?
#37227
Author: bill davidsen
Date: Tue, 04 May 1999 00:00
23 lines
2023 bytes
In article <19990504143226.915$cc@newsreader.com>,
Curt Welch <curt@kcwc.com> wrote:

| So, my current thought is to try and avoid the whole xref slave issue by
| desiging the server in such a way that you won't ever need to run a farm of
| slaved servers to support a large user base.  I basically split the server
| up into multiple processes which can be distributed over a large number of
| machines to support a very large user base (in theory).  But my current
| implementation doesn't yet support a lot of the intended distributed
| design so it's hard to say how well it will really work at this point.

The reason for slaved servers is more to have a soft transition to
another server without glitching the readers. This can be planned or
unplanned, obviously.
-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  One common problem is mistyping an email address and creating another
valid, though unintended, recipient. Always check the recipient's
address carefully when sending personal information, such as credit
card numbers, death threats or offers of sexual services.


Re: Abandoning uniover - but how?
#37235
Author: cmsedore
Date: Tue, 04 May 1999 00:00
81 lines
5123 bytes
In article <7gl2qc$4s1i$1@newssvr03-int.news.prodigy.com>,
  davidsen@tmr.com (bill davidsen) wrote:
> Let me throw up a few thoughts about overview.
>
> 1 - Any method which does not have overview in handy chunks ready for
> sending to the client is going to have both high overhead and poor
> performance to XOVER, relative to "one file in wire format" as was done
> in 1.x. The effect is probably in proportion to the size of the range
> being requested.
>
> 2 - Any method which does not have the overview asynchronous with the
> articles will generate phantom missing articles for the readers, in
> which the articles available from active don't match the articles
> available from overview. The client sees no overview for recent posts
> and assumes them canceled. The reader never sees them.
>
> 3 - any overview method which doesn't process cancels asynchronously will
> generate requests for missing articles. For my readers at least, this is
> a source of a lot of irritation. This applies to expire as well,
> overview should exactly match the articles available.

[I assume you meant synchronous/ly above in 2/3]

Allow me to offer what I did in tortoise.  I wrote the overview entries (sans
number) for each article ahead of the article in the article store.  This
meant that I could grab them anytime I wanted for any group to which it was
posted by just looking it up.

In addition, I wrote an overview caching mechanism, which operates in one of
two ways.  The more traditional way is that it prebuilds data for each group
as it receives articles.  It writes the cached data (the entire overview
range) into a cyclical store, in blocks which are sized on 16k intervals. 
New articles are appended until the whole allocated space is full, then the
whole block is rewritten to the current position in the store.	It also can
be set to rewrite the whole block periodically.  In most cases, the overview
cache store is rewritten by reading in the current cache block, keeping the
useful entries and tossing the rest (rather than seeking all over creation to
get the entries from the article stores).  Updates happen in-place unless the
current pointer is near, in which case they're appended to the current
position in the store. Overview entries are always available from the article
store, so even if they're not in the cache, they'll be pulled off disk so
there's no gap.

The other way that it can operate is to only cache overview information for
groups which are read.	After the first xover, the overview cache is
maintained until it expires (by being overwritten in the cyclical store). 
This methodology is extremely fast and resource efficient if you have
somewhat consistent group readership patterns.

> 4 - expire has got to be replaced by some process which can be run
> continuously. This applies to history and overview, and will allow more
> scaling of news. Fortunately, this isn't causing major user visible
> problems now, but it does suggest that if a history solution could be
> bundled with an expire solution life might be better for news admins.

Overview expiration in the above scheme is automatic.  I've gone to a cyclical
history storage methodology, so I don't worry much about that.

> 5 - It is highly desirable to have overview able to accept articles in
> an arbitrary order. This facilitates both xrefslave feeds and any future
> multi threaded incoming feed scheme, in that as long as article numbers
> are unique there is not a significant performance penalty.

My scheme doesn't do so well with this.  If the cache code is asked to append
something that's not the next article in the sequence, it overwrites the whole
block to keep things consistent.  Sub-optimal, but functional.

 > I have some thoughts on addressing these points, but I'm going to wait
> and see if some other folks will either propose solutions or convince me
> that these aren't the real problems.

I'd like to hear your thoughts as well...

-Chris

cmsedore@maxwell.syr.edu

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

Re: Abandoning uniover - but how?
#37237
Author: T. William Wells
Date: Tue, 04 May 1999 00:00
32 lines
2243 bytes
In article <slrn7iu3fa.1i7.usenet@luser.oneill.net>,
Clayton O'Neill <usenet@oneill.net> wrote:
: On 28 Apr 1999 20:08:55 -0400, T. William Wells <bill@twwells.com> wrote:
: |Well, here's a proposal: Get rid of overchan entirely. Let nnrpd
: |have the responsibility of reading *and* creating the overview.
: |This would seem to be about as efficient as one can get, since
: |exactly those articles that need overview records get them and
: |none others do. In this method, the overview database is, in
: |essence, one big shared cache used exclusively by nnrpd.
:
: This really doesn't scale well.  Think about what happens when 20-30 nnrpd's
: all try to built the latest entry in abpe at the same time?

That's why the sequence is: lock the overview file, see where the
current end point is, add any new records, ... With that sequence,
only one of the nnrpd's actually adds the new records; the rest of
them wait at the lock, then discover that all the records are
there, and proceed merrily along without having to add any new
records. I do believe I made this point already....

: Also, if you
: write the overview at article write time then you don't have to read the
: article again.

This one, I *did* address: If you create the overview at nnrpd
read time, odds are pretty damned good that that article is going
to get read shortly. This has the same caching benefits as
creating the overview at write time. The additional overhead, of
moving the data from cache to process an extra time is not
relevant; news servers aren't noted for being CPU bottlenecked.

Re: Abandoning uniover - but how?
#37238
Author: T. William Wells
Date: Tue, 04 May 1999 00:00
72 lines
3847 bytes
In article <7gl2qc$4s1i$1@newssvr03-int.news.prodigy.com>,
bill davidsen <davidsen@tmr.com> wrote:
: 1 - Any method which does not have overview in handy chunks ready for
: sending to the client is going to have both high overhead and poor
: performance to XOVER, relative to "one file in wire format" as was done
: in 1.x.

Pretty much so. Though, this can be deferred *somewhat*.

: 2 - Any method which does not have the overview asynchronous with the

Synchronous?

: articles will generate phantom missing articles for the readers, in
: which the articles available from active don't match the articles
: available from overview. The client sees no overview for recent posts
: and assumes them canceled. The reader never sees them.

Of course, nnrpd could be made aware of this problem and simply
not send overview or article data that is out of sync. E.g., it
doesn't _have_ to send the highest number from the active file for
the highest article number; it could send the highest number from
the overview.

: 3 - any overview method which doesn't process cancels asynchronously will

Again, synchronously?

: generate requests for missing articles. For my readers at least, this is
: a source of a lot of irritation. This applies to expire as well,
: overview should exactly match the articles available.

Not at all necessary, as was proven on 1.x. In 1.x, the spool was
considered the "master", so overview records for articles that had
been deleted did not (I assume were not) sent to the client.

It is worth nothing that a daemon that kept bitmaps for all
articles and served these bitmaps on demand would not consume all
that much RAM, thus preserving the ability of 1.x to use the
articles themselves as the master.

: 4 - expire has got to be replaced by some process which can be run
: continuously.

Such processes are invariably less efficient than batching the
expire.

: continuously. This applies to history and overview, and will allow more
: scaling of news. Fortunately, this isn't causing major user visible
: problems now, but it does suggest that if a history solution could be
: bundled with an expire solution life might be better for news admins.

History expire, article expire, and overview expire are
conceptually different things. Instead of trying to keep them
synchronous (which is going to cause immense headaches), what is
necessary is to rethink things so that each can function
independently.

: 5 - It is highly desirable to have overview able to accept articles in
: an arbitrary order. This facilitates both xrefslave feeds and any future
: multi threaded incoming feed scheme, in that as long as article numbers
: are unique there is not a significant performance penalty.

As near as I can tell, both 1.x and 2.x overview can accept
articles in any order. Certainly, there is no theoretical reason
why either *must* accept the data in order. The only one I could
think of would be that various parts of the code assume ordering
of the overview data but from what I recall, they don't. (And
can't, really, because overchan isn't really guaranteed to not
write records out of order.)

Re: Abandoning uniover - but how?
#37239
Author: Clayton O'Neill
Date: Tue, 04 May 1999 00:00
14 lines
1527 bytes
On 28 Apr 1999 20:08:55 -0400, T. William Wells <bill@twwells.com> wrote:
|Well, here's a proposal: Get rid of overchan entirely. Let nnrpd
|have the responsibility of reading *and* creating the overview.
|This would seem to be about as efficient as one can get, since
|exactly those articles that need overview records get them and
|none others do. In this method, the overview database is, in
|essence, one big shared cache used exclusively by nnrpd.

This really doesn't scale well.  Think about what happens when 20-30 nnrpd's
all try to built the latest entry in abpe at the same time?  Also, if you
write the overview at article write time then you don't have to read the
article again.

Re: Abandoning uniover - but how?
#37240
Author: Kjetil Torgrim Homme
Date: Tue, 04 May 1999 00:00
25 lines
1760 bytes
[T. William Wells]

>   Of course, nnrpd could be made aware of this problem and simply
>   not send overview or article data that is out of sync. E.g., it
>   doesn't _have_ to send the highest number from the active file for
>   the highest article number; it could send the highest number from
>   the overview.

This is an improvement, but it still will not cope with holes in the
article range.  I guess some clever timeout algorithm can fix this,
e.g.

  article number    1  2  3  5  9
  time of arrival   1  1  2 15 16

Define timeout to be, say, 5 time units.  In this case, XOVER should
only return 1,2,3,5, since there is a gap between the last and next to
last article, but they arrived less than 5 time units apart.  The gap
between 3 and 5, on the other hand, happened so long ago that we have
given up on receiving 4.


Kjetil T.

Re: Abandoning uniover - but how?
#37250
Author: cmsedore
Date: Wed, 05 May 1999 00:00
63 lines
4316 bytes
In article <19990504143226.915$cc@newsreader.com>,
  curt@kcwc.com (Curt Welch) wrote:
> cmsedore@my-dejanews.com wrote:
>
> > Allow me to offer what I did in tortoise.  I wrote the overview entries
> > (sans number) for each article ahead of the article in the article store.
> > This meant that I could grab them anytime I wanted for any group to which
> > it was posted by just looking it up.
>
> So you just add the overview record as a new line in the front of the
> article?  Does that really buy you anything?  Sounds to me like it just
> mostly wastes disk space.  If you have to read the block to get that
> overview data it's not going to be much (any?) faster than just reading
> the entire header and rebuilding the overview record.  The much longer
> delay there is the read -- not the parsing and constructing the overview
> data.  Depending on how your article store works, you might have to read
> a few more blocks to get the entire header, but in most cases, I'd expect
> the entire header to fall into one block anyway.

It buys me two things.	First, I don't have to worry about getting the
overview entry into the cache instantly--I can retrieve it from the article
store any time I want it (in fact, I can blow away the overview cache and it
will rebuild it for me).  I've thought about changing to build the overview
record on the fly, but haven't written the code.  I used to have a scheme
that worked more like uniover, but switched to this because the other method
didn't perform.

> > In addition, I wrote an overview caching mechanism, which operates in one
> > of two ways.  The more traditional way is that it prebuilds data for each
> > group as it receives articles.  It writes the cached data (the entire
> > overview range) into a cyclical store, in blocks which are sized on 16k
> > intervals. New articles are appended until the whole allocated space is
> > full, then the whole block is rewritten to the current position in the
> > store.
>
> So you have one 16K block active in memory for each group?  16K x 30,000
> groups is 480 Meg of memory - not a very small memory foot print eh?  Do
> you always keep all those in memory or do you limit the memory usage
> somehow - like by writing out cache block that haven't been accessed
> recently?

No, I allocate from the overview cache (which is just a special article
store) in 16k blocks.  Each group uses from 1 to (as many as necessary) 16k
blocks to hold the data in the cache store.  I fill the allocated cache
blocks by writing in-place (ie not advancing the current offset in the
store)--this allows you to update at very low cost.  Once the space allocated
in the store is used, the whole cache block is rewritten elsewhere.  If you
size the overview cache store appropriately, you can get a nice slow expire
that essentially serves as garbage collection.

FWIW, my usual strategy is to not worry too much about disk space.  I figure
that reducing the IO bottlenecks at the cost of disk space (within reason) is
a good trade.  You can buy disk space--buying your way out of a problematic
i/o design is much more expensive.

[...]

-Chris

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

Re: Abandoning uniover - but how?
#37258
Author: Curt Welch
Date: Wed, 05 May 1999 00:00
18 lines
1546 bytes
davidsen@tmr.com (bill davidsen) wrote:
> In article <19990504143226.915$cc@newsreader.com>,
> Curt Welch <curt@kcwc.com> wrote:
>
> | So, my current thought is to try and avoid the whole xref slave issue
  [by ...]

> The reason for slaved servers is more to have a soft transition to
> another server without glitching the readers. ...

Good point.  I hadn't given that issue much thought lately.  It is a good
reason for making xref slave work correctly....

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: Abandoning uniover - but how?
#37260
Author: Curt Welch
Date: Wed, 05 May 1999 00:00
35 lines
2573 bytes
davidsen@tmr.com (bill davidsen) wrote:
> In article <7gn3tf$jk1$1@twwells.com>,
> T. William Wells <bill@twwells.com> wrote:
> | In article <slrn7iu3fa.1i7.usenet@luser.oneill.net>,
> | Clayton O'Neill <usenet@oneill.net> wrote:
>
> | : Also, if you
> | : write the overview at article write time then you don't have to read
> | : the article again.
> |
> | This one, I *did* address: If you create the overview at nnrpd
> | read time, odds are pretty damned good that that article is going
> | to get read shortly. This has the same caching benefits as
> | creating the overview at write time. The additional overhead, of
> | moving the data from cache to process an extra time is not
> | relevant; news servers aren't noted for being CPU bottlenecked.
>
> I believe this contains several false assumptions. First, that the user
> looking at the overview is a good predictor of reading the article. My
> quick look seems to say that the average for that is only 40-60%, and
> the rest of the articles are unread.

I too felt the argument was very weak but I don't have any data to
back up my gut feeling.  I would expect newsreaders to download headers
and then have two things happens - one many articles listed in the headers
will never be read - so the extra read to get the xover is not "free"; and
two, when the user gets around to reading most the articles, it will be
many minutes later - which on a busy server means the chance of the data
still being in the cache could be very small.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: Abandoning uniover - but how?
#37263
Author: Brad Knowles
Date: Wed, 05 May 1999 00:00
40 lines
2857 bytes
In article <19990504211421.420$G0@newsreader.com>, curt@kcwc.com (Curt
Welch) wrote:

>                          I would expect newsreaders to download headers
> and then have two things happens - one many articles listed in the headers
> will never be read - so the extra read to get the xover is not "free"; and
> two, when the user gets around to reading most the articles, it will be
> many minutes later - which on a busy server means the chance of the data
> still being in the cache could be very small.

    The assumptions might be valid for offline newsreaders, but so far as
I know, those are very rarely used these days.

    When offline newsreadere are used, the people download all the
headers.  Then, once offline, they look at the subjects, etc.... and
decide which messages are actually of interest to them.  Then they go back
online to download all the "interesting" articles, which they can then
actually read offline at their leisure.


    I like the idea of having a timehash-like method of storing the
overview database, created in small batches somewhat asynchronously as the
articles come in.  This way, expiring overview data simply becomes a
matter of blowing away any overview data files over a certain age, and
then cleaning up the index entries that still exist that point into that
space which no longer exists.

    However, I am currently of the opinion that this should be augmented
by an "overd" process that will serve overview data to any nnrpd process
that requests it, and create on-the-fly any overview information that is
needed but for which no overview has yet been created.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Are you looking for a news feed from a site in the Freenix Top 130?
If so, contact me via private e-mail for details.

Re: Abandoning uniover - but how?
#37269
Author: bill davidsen
Date: Wed, 05 May 1999 00:00
35 lines
2552 bytes
In article <7gnoem$624$1@twwells.com>,
T. William Wells <bill@twwells.com> wrote:
| In article <7gnnp1$53cc$1@newssvr03-int.news.prodigy.com>,
| bill davidsen <davidsen@tmr.com> wrote:

| : I believe this contains several false assumptions. First, that the user
| : looking at the overview is a good predictor of reading the article. My
| : quick look seems to say that the average for that is only 40-60%, and
| : the rest of the articles are unread.
| 
| That rather depends on the newsreaders involved. Certainly at my
| personal site, the numbers are in that direction but then I read
| my news exclusively with trn. But from what I've seen most people
| nowadays read news with readers that download every article that
| hasn't been read, so that the user isn't forced to wait. Perhaps
| what is needed are some number from different sorts of sites....

As far as I can tell IE and NetScape both fetch the headers and then the
articles on demand. While I use trn for my sane groups, I do have to
monitor a few groups with extensive binary/html content, so I get some
exposure to to the tools of the masses. Reading all the articles is not
practical for people with dial up connections, which I suspect is the
bulk of readers on many services these days.

I'd like to hear from other sites, of course.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  One common problem is mistyping an email address and creating another
valid, though unintended, recipient. Always check the recipient's
address carefully when sending personal information, such as credit
card numbers, death threats or offers of sexual services.


Re: Abandoning uniover - but how?
#37271
Author: bill davidsen
Date: Wed, 05 May 1999 00:00
34 lines
2583 bytes
In article <brad-0505990955380001@brad.techos.skynet.be>,
Brad Knowles <brad@shub-internet.org> wrote:

|     I like the idea of having a timehash-like method of storing the
| overview database, created in small batches somewhat asynchronously as the
| articles come in.  This way, expiring overview data simply becomes a
| matter of blowing away any overview data files over a certain age, and
| then cleaning up the index entries that still exist that point into that
| space which no longer exists.
| 
|     However, I am currently of the opinion that this should be augmented
| by an "overd" process that will serve overview data to any nnrpd process
| that requests it, and create on-the-fly any overview information that is
| needed but for which no overview has yet been created.

I like the timehash a great deal, but how would the overd (another good
idea) "create on-the-fly" from any storage which looks like CNFS? One of
the problems of overchan as it exists is that it can be way behind the
innd process, and the data between them is all in memory, ready to be
lost at any problem.

I have visions of something like makehistory doing linear scans of every
cycbuff, because no one knows where the articles reside for any given
group. It does not comfort me to contemplate doing that very often.


-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  One common problem is mistyping an email address and creating another
valid, though unintended, recipient. Always check the recipient's
address carefully when sending personal information, such as credit
card numbers, death threats or offers of sexual services.

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