Article View: news.software.readers
Article #156845Re: Attn XNews Author: XNews Storage & Load efficiency
From: Jack Frost
Date: Sun, 10 Oct 2004 08:26
Date: Sun, 10 Oct 2004 08:26
55 lines
3827 bytes
3827 bytes
Murray Peterson <mwp@home.com.invalid> wrote in news:Xns957E6D02A9A4farkle@24.71.223.159: > Jack Frost <person@server.com.edu.org> wrote in > news:Xns957DEF4BBDE21JFXN@ 207.69.189.191: > >> XNews' offline storage is much larger AND loading of >> offline headers is much longer. > > The only explanation is that Power-Grab is discarding most of the > headers. If that's the case, then Xnews is guaranteed to take more > memory when loading them. > >> Maybe everyone using XNews have large >> amount of memory. I don't consider my 640 MB RAM anything near >> "big", but it's pretty dam adequate right up to XNews. > > I have 512Mb, and it works fine. Mind you, I don't try to store huge > number of headers and then load them every time I start Xnews. > > Sounds like the design of Xnews as an online reader isn't for you. > I just digged a bit more into Power-Grab (PG for short), as it turned out, PG uses a DB (SQLite) to store its data, unlike XNews which stores it in plain text. Judging from the tremendous difference in header storage size, I can only guess a few things: 1. PG is discarding some information, most likely things most people are not interested in anyway. From a quick comparison of several small groups, I don't see PG discarding headers, so my guess is PG selects only the most necessary information to save instead of storing everything. 2. PG is condensing information (all parts of a file could be stored under one entry, for example) 3. During header retrieval, PG DOES create a XOVER file that DOES get quite big (comparable in size to the header file of XNews). However, once the actual header download, the sorting, matching... etc are done, PG reverts to its smaller file size (a msg ID file, a bin file, whatever they store is not plain-text). Loading the content of those files, i.e. opening a group in PG takes very little time (compared to XNews) and still, all the information are there, including what's new and what's not. 4. Using a DB to stores offline headers explains the efficiency difference between PG and XNews. While XNews has to parse text and do all the displaying, sorting and threading, PG could use DB features such as view, query and some simple manipulation to display what it needs, with much more efficiency. Again, I never meant to start this thread as a "PG rox, XNews sux" type. PG was just incidently my current preferred binary reader and serves as an illustration to my point. I wish XNews were still under development. It could become a true all-in-one, all-purpose news reader.
Technical Details
Message-ID:
<Xns957E2311B7445JFXN@207.217.125.201>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!elnk-atl-nf1!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread3.news.pas.earthlink.net.POSTED!0b3b810c!not-for-mailReferences:
<Xns957DCA37F1A17JFXN@207.69.189.191> <Xns957DD765E61BBfarkle@24.71.223.159> <Xns957DEF4BBDE21JFXN@207.69.189.191> <Xns957E6D02A9A4farkle@24.71.223.159>Show Full Headers
Complete Article Headers
Message-ID: <Xns957E2311B7445JFXN@207.217.125.201> Subject: Re: Attn XNews Author: XNews Storage & Load efficiency Date: Sun, 10 Oct 2004 08:26:53 GMT From: Jack Frost <person@server.com.edu.org> References: <Xns957DCA37F1A17JFXN@207.69.189.191> <Xns957DD765E61BBfarkle@24.71.223.159> <Xns957DEF4BBDE21JFXN@207.69.189.191> <Xns957E6D02A9A4farkle@24.71.223.159> 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!elnk-atl-nf1!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread3.news.pas.earthlink.net.POSTED!0b3b810c!not-for-mail Newsgroups: news.software.readers User-Agent: Xnews/06.08.25 Lines: 55 NNTP-Posting-Host: 69.81.119.202 X-Complaints-To: abuse@earthlink.net X-Trace: newsread3.news.pas.earthlink.net 1097396813 69.81.119.202 (Sun, NNTP-Posting-Date: Sun, 10 Oct 2004 01:26:53 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net