Article View: news.software.readers
Article #77930Re: Best newsreader for very large numbers of headers?
From: Jeff Heikkinen
Date: Fri, 04 May 2001 06:02
Date: Fri, 04 May 2001 06:02
123 lines
7135 bytes
7135 bytes
Before I even start, I would like to say thank you for the closest thing to a helpful response I am likely to get! I really appreciate it. On Fri, 04 May 2001 01:48:48 GMT, mwp@home.com.invalid said... > Jeff Heikkinen <jeffh.renaissance@home.com> wrote in > <MPG.155b6024e565e037989cef@news.easynews.com>: > > > It takes Gravity over an hour just to thread them, > > I am surprised it actually gets through them that quickly. If you look at > threading algorithms, they have to make multiple passes over all the > headers. "Over an hour" could be a lot longer for all I know. All I know is that an hour definitely isn't long enough, but if I leave it overnight, I am doing okay in the morning. Actually, I have never even tried to do this with 200K headers. (I merely said I could if I cared to.) About 120K is the most I have acutally attempted, and that was what I based the above statements on. > > and XNews invariably crashes with an incomprehensible error message > > when I so much at try to view such a group. > > Xnews loads everything into RAM, so don't even bother trying that many > headers unless you have another 200 megabytes of free RAM available. I'd gathered that. (But not until after I had tried it a couple of times.) In this case, it is the very feature designed to speed this software up that slows it to a crawl, and holds the rest of my system hostage in the process. As much as there are some things about XNews I really like, Gravity seems to be much better at handling this kind of abuse. > Even > then, the threading is going to take forever. That's why it has features > to allow reading of the headers in smaller chunks. Someone else suggested the same. It doesn't quite seem to work that way. Inadvertant experimentation has shown that threading, searching, or otherwise screwing around with 30K headers takes very little time if those 30K headers are all that are available on the server, and much more if they represent only 15 to 35 percent of those the server has. I don't pretend to know why that is, but it would seem to be a fact in both Gravity and XNews. Also, something you may not realize. It is mostly in binary groups where this situation arises. Easynews has a Web interface where you can download every complete binary they have received in the last seven days at any given time. Mostly, I use that for binaries, and use the newsreaders I have mentioned for the half dozen or so discussion groups I follow. Because of this feature, the only time I am even tempted to try viewing these groups in a traditional newsreader is when I want a binary that was posted more than seven days ago. You can see where this is going, right? Is there a way to get XNews to download or otherwise interact with only the headers from eight or nine days ago, without the newer ones entering the picture? I would be extremely surprised if the answer was "yes" in any sense that actually solves the problem. If you know of one, I'm all ears. > > I can only assume that the databases these programs use were not > > designed with this kind of use in mind, and do not scale well to it. I > > can thread, sort, search, or otherwise work with twenty thousand > > headers in under two seconds, typically, but if I try to work with ten > > times that number of headers, things don't take ten times longer - they > > take many, many orders of magnitude longer. > > There are multiple problems with that number of headers, and database > design is almost the least of them. Any newsreader with threading is going > to go away for a long time trying to thread that many articles, and almost > all of them use linear search and storage algorithms internally -- which do > not scale well at all. Like I mentioned in my second posting to this thread, I don't know that much about the design issues involved. Feel free to educate me if you think it will help - I appreciate the attempts you have already made at doing this. I do remember getting it driled into my head, almost a decade ago when I took some CompSci courses, that linear searches were evil. But if I remember that part of the course correctly (and there is no guarantee that I do), as you increase the amount of data involved, the time that search takes should increase, well, linearly. As I pointed out, in this case it does not seem to be increasing linearly or even exponentially, but at some much faster rate. To put it another way, multiplying the number of headers by ten does not multiply the time taken by ten or even one hundred (an exponential increase), it multiplies it by at least two thousand, possibly much more. What makes the difference? Is it just all the swap file acrobatics I am forcing Windows to do at that point? Just how big are those headers, anyway? > > Am I looking at having to upgrade my hardware, or is there a news > > program that will actually let me work with this much data in a > > reasonable way? > > You need to find a newsreader that never threads or filters the headers, so > I doubt you are going to find what you want and still be happy with the > newsreader. Are there any newsreaders where this admitedly very basic function can be turned off, preferably on a per-group basis? (Threading, I mean. Filtering in the style of XNews or searching like Gravity is essential if I am to have any hope of finding a specific binary amoung 200K headers.) > I would strongly suggest that you change your reading habits > to download and read smaller chunks of the total header list. Xnews has > such facilities, and others probably do as well. BTW, make sure you have > storage turned off, or you won't see any improvement. As I mentioned above, if these features can be (ab)used in a way that fits my admittedly rather unusual needs, I am all for it, but if there is, I haven't found it.
Technical Details
Message-ID:
<MPG.155c0134b6f53a2f989d20@news.easynews.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.skycache.com!Cidera!easynews!news.easynews.com.POSTED!not-for-mailReferences:
<MPG.155b6024e565e037989cef@news.easynews.com> <Xns9096C9AE79899farkle@24.64.2.57>Show Full Headers
Complete Article Headers
Message-ID: <MPG.155c0134b6f53a2f989d20@news.easynews.com> Subject: Re: Best newsreader for very large numbers of headers? Date: Fri, 04 May 2001 06:02:33 GMT From: Jeff Heikkinen <jeffh.renaissance@home.com> References: <MPG.155b6024e565e037989cef@news.easynews.com> <Xns9096C9AE79899farkle@24.64.2.57> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.skycache.com!Cidera!easynews!news.easynews.com.POSTED!not-for-mail Newsgroups: news.software.readers X-Newsreader: MicroPlanet Gravity v2.30 Lines: 122 X-Complaints-To: abuse@easynews.com Organization: EasyNews, UseNet made Easy! - Test our service with our FREE trial at https://www.easynews.com/trial/trial.phtml X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.