🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #64028

Re: sort headers by subject algorithm

#64028
From: Colin Wilson
Date: Thu, 13 Feb 2003 10:27
57 lines
3558 bytes
Adbn Eti`n wrote:

> Nice newsreader Colin! Compliments.  I've been running XanaNews for a 
> few days, it's an ok newsreader for light work but there are some 
> issues, the threading works fine but the database issue addressed by 
> Jamie Zawinski must be <partly> wrong.  

> ( why is there no default  'autosave'  for writing a file attchment? 

I'll put it in a future release.

> That eats even more memory and throws an exception - to often  ;)

Obviously I'm keen to track down any exceptions, excessive memory usage,
 etc.  If you like, please supply details in the xananews.support 
newsgroup on the forums.talkto.net server.  Although XanaNews holds all 
the headers for the selected group in memory, it doesn't hold all the 
message bodies (including attachments) in memory - just the 5 most 
recently viewed.

> [!quotes]
> ! My C version of this code was able to thread 10,000 messages in 
> less than half ! a second on a low-end (90 MHz) Pentium, so the 
> argument that it has to be in ! the database for efficiency is pure 
> bunk. 
> 
> No bunk, I cannot get a 600mhz pentium to reorder 10,000 articles 
> into threads in Seconds!  Not with XanaNews or any other windows 
> newsreader for that matter.

Last night I downloaded all 27000 messages from uk.rec.motorcycles into 
XanaNews.  I'd modified it so that it beeped at the start and end of 
the threading code.  It takes less than a second to thread the 27000 
articles on my 1Ghz PIII.  Of course there are other overheads when 
switching groups - it has to unload the message headers for the 
previously selected group; load the message headers for the newly 
selected one, then finally thread them.  This takes XanaNews about 3 
seconds for a 27000 thread group.  BTW, it took 17 minutes to download 
the 27000 full messages on my ADSL connection - about 1500 per minute.

But you're right.  Holding headers for a group in memory and threading 
them on-the-fly will cause performance problems if there are too many 
messages, and if you want to hold big archives of newsgroup messages 
then ultimately these in-memory newsreaders - including XanaNews - may 
not be right for you.  OK - it has 'archived message' folders that 
don't get loaded into memory all at once, into which you can put 
archives of old messages, but they don't work very well or efficiently 
at the moment.


-- 
Colin
e-mail :colin@wilsonc.demon.co.uk
web: http://www.wilsonc.demon.co.uk/delphi.htm

Posted with XanaNews 1.13.2.6
Technical Details
Message-ID: <1045132022.9885.0@despina.uk.clara.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!eusc.inter.net!mephistopheles.news.clara.net!newspeer.clara.net!news.clara.net!despina.uk.clara.net
References: <3e499c1d.56495214@news.claranews.net> <1045044386.38289.0@iris.uk.clara.net> <g3fk4vsvs0j5mi5grphfmo352f93aakr1c@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <1045132022.9885.0@despina.uk.clara.net>
Subject: Re: sort headers by subject algorithm
Date: Thu, 13 Feb 2003 10:27:02 +0000
From: "Colin Wilson" <colin@wilsonc.demon.co.uk>
References: <3e499c1d.56495214@news.claranews.net> <1045044386.38289.0@iris.uk.clara.net> <g3fk4vsvs0j5mi5grphfmo352f93aakr1c@4ax.com>
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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!eusc.inter.net!mephistopheles.news.clara.net!newspeer.clara.net!news.clara.net!despina.uk.clara.net
Newsgroups: news.software.nntp
User-Agent: XanaNews/1.13.2.6
X-Complaints-To: abuse@clara.net (please include full headers)
X-Trace: 5129a28330c64974e28c67007fee0617b9716045d46cc0a0c853702c3e4b72f6
NNTP-Posting-Date: Thu, 13 Feb 2003 10:27:02 +0000
Lines: 56