🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #156354

Re: Newsbin Pro or NewsPro for mutlti-server binaries (newsleecher internals)

#156354
From: Alex Birj
Date: Sun, 03 Oct 2004 17:39
90 lines
5264 bytes
i was lured by your thread and got curious, so my first experience in reverse 
thiking regarding another newsreader :)

the newsleecher approach is quite interesting, although it only will work if 
you have a good server.

it doesn't keep expiration data (local article numbers, it just downloads 
headers from available servers) so it is not multiserver in the sense of 
keeping track of headers available on every server (it is not even one server, 
it is like .nzb approach applied to downloading headers), it assumes articles 
won't expire on a server. it doesn't keep track of destinations so it doesn't 
know which server an article belongs to.

the memory usage reduction is achieved by keeping message-ids in a separate 
file, for example 1.4M message-ids take about 40-50MB, slightly compressed 
maybe 30M, it just dumps message-ids into a file and apparently keeps only 
offset in the file to refer it, so it is not shown in the memory usage.

but it is not really a solution since while downloading headers the file is 
referred to (we need to check message-ids), so if you see e.g. memory usage 
24MB there is also a file say 64MB so the real memory usage is 88MB per 1.4M 
headers and if the memory is full disk thrashing results with everything 
suddenly slowing down. the processor usage you see when downloading headers it 
looks like direct file access (resolves problems with virtual memory but it is 
resource intensive, there is a better solution). So the 0.1GB "space" in the 
bottom is misleading, it should show 0.8GB then.

info about 1.4M destionation for my estimation is about 18MB so the gain is 
20%, per two servers it may be 35% etc., so maybe omitting the server 
synchronization option doesn't worth it (so probably the motivation was to 
simplify the programming task).

i see the only real way to reducing memory consumption is to allow on servers 
posting large files, so instead of a 15MB partial message out of 50 parts it 
will be one 15MB message, in short increase the allowed posting size, then 
reducing the number of headers say in 20 times maybe will result in 10 times 
less memory consumption for the same posted volume, my suggestion is to push 
server admins for the change :)

i'm not critical here, just was curious, but i think it is a worthy idea that 
by allowing larger post we could reduce memory consumption many times without 
changing anything in the newsreader software, anyway even modem connection now 
is reliable enough to download a 15MB file (from other side even if it wouldn't 
why not to make article download resumable through adding a simple command?).

alex

tully <spam_me_here@bellsouth.net> wrote:
>Dregon wrote:
>> tully wrote:
>>  
>> 
>>>Dregon wrote:
>>>
>>>>Mac Cool wrote:
>>>> 
>>>>
>>>>
>>>>>Zak:
>>>>>
>>>>>
>>>>>
>>>>>>Which is better for multi-server  
>>>>>>downloading of binaries 
>>>>>
>>>>>I've tried a bunch and I prefer Newsleecher for one big reason: it uses 
>>>>>the fewest system resources. You may not notice on the smaller groups, but 
>>>>>download headers from a.b.dvdr and some newsreaders will bring your system 
>>>>>to a crawl.
>>>>
>>>>
>>>>How many megs of RAM does Newsleecher consume if a million headers is
>>>>cached?
>>>>
>>>>
>>>
>>>Seems to me the last time I used it roughly ~30 to 40 megs for 21 days 
>>>of a.b.dvdr
>> 
>> 
>> Which version started to be resource-friendly -  from beta26 or is it
>> just the 1.0 Final release?
>Honestly I never used it up past the change in license format.  My 
>license was through a certain website that I was no long afiliated with 
>so I never got the updated version.  If I had to guess I would say it 
>was beta 15 thru 28.  Around there.  Of course I only pulled headers 
>from one server, I suppose if you pulled headers from several servers ( 
>which would be pointless since it works off msgid) I could see the 
>memory usage being alot higher.
Technical Details
Message-ID: <e2a83$4160396f$d2d5aa8a$2925@nf1.news-service-com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.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!newspeer1.nwr.nac.net!newspeer.monmouth.com!newsfeed.icl.net!newsfeed.fjserv.net!feeder.news-service.com!post.news-service.com!nf1.news-service.com!not-for-mail
References: <Xns9572C4AB7EDFD64A18E@204.153.244.156> <Xns95755DBC96606MacCool@24.25.9.43> <q0frl0hoi47cje4hmq4ukv8paj2etaqb0e@4ax.com> <2s6f26F1gf6e0U2@uni-berlin.de> <2k9sl01d689ubj7btkd51j2b0v06hpc4p5@4ax.com> <2s6v58F1hi2e4U1@uni-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <e2a83$4160396f$d2d5aa8a$2925@nf1.news-service-com>
Subject: Re: Newsbin Pro or NewsPro for mutlti-server binaries (newsleecher internals)
Date: Sun, 03 Oct 2004 19:39:59 +0200
From: Alex Birj <alex@somewhere.com>
References: <Xns9572C4AB7EDFD64A18E@204.153.244.156> <Xns95755DBC96606MacCool@24.25.9.43> <q0frl0hoi47cje4hmq4ukv8paj2etaqb0e@4ax.com> <2s6f26F1gf6e0U2@uni-berlin.de> <2k9sl01d689ubj7btkd51j2b0v06hpc4p5@4ax.com> <2s6v58F1hi2e4U1@uni-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.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!newspeer1.nwr.nac.net!newspeer.monmouth.com!newsfeed.icl.net!newsfeed.fjserv.net!feeder.news-service.com!post.news-service.com!nf1.news-service.com!not-for-mail
Newsgroups: alt.free.newsservers,news.software.readers
User-Agent: NewsPro/3.8.0
X-No-Archive: yes
X-Complaints-To: abuse@news-service.com
Organization: News-Service.com
Lines: 90
NNTP-Posting-Host: 210.213.170.138.pldt.net (210.213.170.138)
NNTP-Posting-Date: Sun, 03 Oct 2004 19:39:59 +0200
X-Trace: e2a834160396f77700f2f02925