Article View: news.software.readers
Article #156386Re: Newsbin Pro or NewsPro for mutlti-server binaries (newsleecher internals)
From: Far Canal
Date: Mon, 04 Oct 2004 10:46
Date: Mon, 04 Oct 2004 10:46
61 lines
4540 bytes
4540 bytes
Alex Birj wrote > 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 :) Small article size is known to be a major cause of problems with both newsreading software and NSP's. Most NSP's are able to accommodate articles up to 4Mb, but posters won't use articles over 1Mb because most ISP's will block articles over that size. Most articles I see are between 200k to 500k. Increasing articles size to 900k would result in lower Ram usage, but few posters will make 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
Technical Details
Message-ID:
<MPG.1bcb3a4dafc3750f98bf72@allnews.readfreenews.net>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!green.octanews.net!news-out.octanews.net!authen.puce.readfreenews.net.POSTED!not-for-mailReferences:
<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: <MPG.1bcb3a4dafc3750f98bf72@allnews.readfreenews.net> Subject: Re: Newsbin Pro or NewsPro for mutlti-server binaries (newsleecher internals) Date: Mon, 4 Oct 2004 11:46:13 +0100 From: Far Canal <me@privacy.net> 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!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!green.octanews.net!news-out.octanews.net!authen.puce.readfreenews.net.POSTED!not-for-mail Newsgroups: alt.free.newsservers,news.software.readers X-Newsreader: MicroPlanet Gravity v2.60 X-No-Archive: YES Lines: 61 Organization: Read Free News NNTP-Posting-Date: 04 Oct 2004 05:43:48 CDT NNTP-Posting-Host: 7c71c1e7.authen.puce.readfreenews.net X-Trace: DXC=7IJkY@fG1_9eSF<=ZTm]f70TEf1TMUA>8DdA=iLI<Fm; fN=_[Ia[CP>:H@jCM1aKW0BnknYj^aNF=5c92<:[OOa?=FY:>FBXa31 X-Complaints-To: abuse@readfreenews.com