πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #156862

Re: Attn XNews Author: XNews Storage & Load efficiency

#156862
From: Tech Zero
Date: Sun, 10 Oct 2004 11:00
89 lines
4851 bytes
The voice of "Jack Frost" drifted in on the cyber-winds, 
from the sea of virtual chaos...


<snip>
I was going to add this to another place within this thread, but it was 
simpler to backtrack and "restart" at the beginning...

> Recently (last week, to be exact), I found XNews and I thought that
> it is the answer to my dual reader problem.  However, as I put XNews
> to use, I notice several shortcomings.

> I find it logical to download and store all headers of a subscribed
> group the first time and update it on each subsequent visits.

Logical in what way?  Sure, it may make sense to cache a few headers 
your interested in...  But if your 45000 messages plus group rolls over 
posts every 3 to 5 days it's almost guaranteed the your older headers 
will be useless by the time your back in that newsgroup again.

> Some groups, for example, a.b.movies.dvd, takes over 200 MB of HDD
> storage and a lot of time and memory to load/view it, whereas
> Power-Grab takes a mere 18 MB and barely takes anytime and memory
> to load/view.

It's possible that powergrab is compressing the downloaded headers...
200 MB of text should be ~18 MB when zipped (I think).

> Another thing to consider is the effort XNews must put in to
> re-thread a group after a filter has been applied.
 <read-n-sniped>

Display trickery...  Xnews is actually loading all the headers into 
memory for that group (an older speed trick), while PowerGrab is just 
loading a simple text database file for display.  In essence, Xnews is 
doing the processing while fetching the headers in real time, while 
PowerGrab does all it's "grunt work" when downloading the headers.

The filtering is faster in PG since it's not doing anything to any 
header downloaded for that session, it's just reordering a simple 
database that links the headers to being whatΒ’s displayed.

All this is not so much a problem of Xnews' coding, but a factor of 
form Xnews was created in.  Xnews designed from the ground up to be an 
online only reader, so it still does most things in a temporary ways 
(as in memory only).  As time when on new functions where "patched" 
onto the old code, but the underlying design remained intact.  This is 
why some of Xnews is not as "efficient", or displays as fast.

But this is all moot.  Most of us who use Xnews daily have learned long 
ago how to work around any "know issues"...  };8)

> Although I've had only one week of experience with XNews, I realize
> that its flexibility has potential to become a powerful everyday
> tool.

Keep with it...  Xnews will grow on you?

> Maybe there are some settings or work-around?  And please don't tell
> me something like "just don't store headers".

OK...

>  It's dumb to have to download all headers everytime then throw it
> away.  Beside, what if I want to use XNews on a labtop that doesn't
> have the kind of memory and HDD space that my desktop does? 

Well, you don't have to "throw out all" the headers.  Xnews has several 
functions that work well with binary group so you don't need to store 
all the headers.  These will save you time, and your sanity; 

  The first functions is Xnews's ability to mark articles or threads
  as "Keep".  In this way you can save any ongoing discussions that
  may be happening in you Bin groups.

  The second storage function is the Queue files.  These allow you
  store the headers of anything may want to download later, such as
  posts that are just arriving in a given binary while you reading.

  Another useful function is the "Reconstruct Thread" command, which
  allows you rebuild and thread your interested in without pulling
  anything your not(as in already read).

Unlike Murry, I'm not a "Online Only" die hard...
So feel free to use headers storage in all your non-binary news groups, 
where they're really meant to be used.  }:8P

-- 
The Tech Zero, Maxwell Pollare - Lost in the keys of Xnews...
Technical Details
Message-ID: <Xns957E32D8FD62AZeroOne@individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!not-for-mail
References: <Xns957DCA37F1A17JFXN@207.69.189.191>

Show Full Headers
Complete Article Headers
Message-ID: <Xns957E32D8FD62AZeroOne@individual.net>
Subject: Re: Attn XNews Author: XNews Storage & Load efficiency
Date: Sun, 10 Oct 2004 11:00:48 +0000
From: Tech Zero <sept-fuspam@dragonfur.ca>
References: <Xns957DCA37F1A17JFXN@207.69.189.191>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.readers
Lines: 89
X-Trace: news.uni-berlin.de LuVdjofz6DYubCc6MxOBUQUwdwSJCgByyF7JrwOySVvtf4MaIq
User-Agent: Xnews/06.01.10