🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #64633

Re: Newsreader programming - sorting one million lines ?

#64633
From: Juergen Helbing
Date: Tue, 01 Apr 2003 05:08
50 lines
2889 bytes
DS <t.h.i.s.n.t.h.a.t@a.d.e.l.p.h.i.a..n.e.t> wrote:

>I tried a few weeks 
>ago again and it said I didn't have enought free sapce to defrag.(OK, 
>quick analyze says 'Total Fragmentation' 25%, 'File Fragmentation' 50%.) 
>That's not good. I'd probably be kidding myself to think I'd see an 
>improvement in performance after a defrag.

It is possible that your database engine is allocating larger
portions of disk-space at once to avoid fragmentation effects.

However 25/50% is a really cluttered disk - and a newsreader
performing well under such circumstances is good.

>I expire automatically after header retreival, part of the joining 
>process. No sense in having messages there that are expired already. 

My own project includes a network of "personal news-servers" which
can be also accessed. For some newsgroups I'm having access
to >50 hosts - some of them never expire....
So expiry is totally in the hand of the user in my (wierd) case.


>So 
>does a.b.s.mp3 typically have 270K headers in the XOVER ? A fresh db 
>would contain 270K. At 30K/day, that would be 9 day's at 100% retention. 
>Do yo typically see this?

Yes, these are 'typical' numbers for abs.mp3. Some video groups
(and a.b.boneless ;-.) might even have more traffic.

In fact that one group is the reason why I'm trying to solve the
"one million header" problem: I'm usually keeping msgs and hdrs
for 30 days on my own servers. This comes already today close
to one million headers/msgs for a single group.
Already today I am not able to display that groups xover list for
one week (I'm currently restriciting the list to 150.000 entries) 
so rather than raising limits I wanted to 'rework' the header handling.


>Thanks for sharing your info,

My pleasure - our advantage.

CU
-- 
Juergen


Technical Details
Message-ID: <28087.143206@archiver.winews.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!feed2.news.rcn.net!rcn!wn14feed!worldnet.att.net!207.14.113.17!news.alt.net!usenet
References: <4540d.o33203@archiver.winews.net> <Xns93498CE88447Aidispcom@24.48.107.54> <Xns934B428C69A95JanC@213.118.75.56> <2605b.v33202@archiver.winews.net> <Xns934F6A37F2940idispcom@216.65.98.9> <1nuiyq8f4gl3k.dlg@40tude.com> <Xns934F8EB67D9C6idispcom@216.65.98.9> <0110l.v33205@archiver.winews.net> <Xns934FAB25D8D25idispcom@24.48.107.54>

Show Full Headers
Complete Article Headers
Message-ID: <28087.143206@archiver.winews.net>
Subject: Re: Newsreader programming - sorting one million lines ?
Date: Tue, 01 Apr 2003 05:08:28 +0000
From: archiver@i3w.com (Juergen Helbing)
References: <4540d.o33203@archiver.winews.net> <Xns93498CE88447Aidispcom@24.48.107.54> <Xns934B428C69A95JanC@213.118.75.56> <2605b.v33202@archiver.winews.net> <Xns934F6A37F2940idispcom@216.65.98.9> <1nuiyq8f4gl3k.dlg@40tude.com> <Xns934F8EB67D9C6idispcom@216.65.98.9> <0110l.v33205@archiver.winews.net> <Xns934FAB25D8D25idispcom@24.48.107.54>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!feed2.news.rcn.net!rcn!wn14feed!worldnet.att.net!207.14.113.17!news.alt.net!usenet
Newsgroups: news.software.nntp
Organization: Altopia Corp. - Usenet Access - http://www.altopia.com
Lines: 49
X-Newsreader: MyNews