🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #156375

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

#156375
From: Alex Birj
Date: Mon, 04 Oct 2004 02:00
107 lines
5967 bytes
to correct my mistake the memory usage shown in newsleecher is right, 0.1GB - 
100MB (i just checked it late at night for a couple of hours so was a bit tired 
- but everything else holds).

in addition to my suggestion to permit larger posts in a single message - if 
large posts were allowed the header bandwidth would be reduced in the same 
proportion, so one would download group headers 20 times faster for the same 
post volume, although the usenet is not scalable 20 times would be a good 
reduction.

alex

Alex Birj <alex@somewhere.com> wrote:
>i was lured by your thread and got curious, so my first experience in reverse 
>thinking 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: <b4a3f$4160aeb6$d2d5aa8a$32446@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!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!newshub3.home.nl!home.nl!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> <e2a83$4160396f$d2d5aa8a$2925@nf1.news-service-com>

Show Full Headers
Complete Article Headers
Message-ID: <b4a3f$4160aeb6$d2d5aa8a$32446@nf1.news-service-com>
Subject: Re: Newsbin Pro or NewsPro for mutlti-server binaries (newsleecher internals)
Date: Mon, 04 Oct 2004 04:00:22 +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> <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!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!newshub3.home.nl!home.nl!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: 107
NNTP-Posting-Host: 210.213.170.138.pldt.net (210.213.170.138)
NNTP-Posting-Date: Mon, 04 Oct 2004 04:00:22 +0200
X-Trace: b4a3f4160aeb677700f2f32446