🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82306

usenet optimalisation idea for compact high bandwith env

#82306
From: newsmaster
Date: Thu, 03 Dec 2009 23:15
81 lines
4126 bytes
Hi

I would like to share an idea, and I’m very interested if you have 
recommendations or blocking issues or have some historical or technical 
insight on this.

Introduction:
A main key in serving binary news messages to a large crowed is having 
enough disk io capacity for the randomness created by the large amount 
of articles served to a lot of people.

The chance of having the same request done twice in a short interval is 
so low, that the memory caching systems (generally speaking) don’t do 
any noticeable offloading. The way most nntp software stores articles is 
enabling caching.

A few years back we operated a news setup where our dreaders did 
disk-caching. The effectiveness of that was too low to implement it in 
our new setup.


Current setup:
We have 4 SAN’s exporting lun’s to all host’s and use a SAN-Filesystem.
Readers can read files over FC from shared filesystems being written by 
the feeders, and get the message location by doing whereis call’s on the 
feeders.
All readers are able to serve the full retention up to 1,6 Gbit/sec per 
node, and we only use 2 feeders.
If we need more output, then we add disks and create an extra shared 
filesystem and sometimes add extra readers.


Idea:
Because we’re mostly interested in output performance, and growing extra 
data retention is not the primary objective, buying tons of fast disks 
if there are other ways would make no sense (except if you’ve a mission 
to kill polar bears).

I would like to try to steer the user’s interaction with the servers 
while he/she's downloading a specific set of messages, without the need 
for user input/selection. I would like to do this with a minor 
serverside change and with clients supporting this client-server 
communication (option). Preferably through sharing this and updating rfc’s

* Client start’s and connects to primary NNTP server hostname.
* Client send’s: list servers (a non-existing ‘list’ extension used for 
example)
* Server answers: (server side configurable data)
215 information follows
-0 server0.example.com
-4 server1.example.com
-8 server2.example.com
-12 server3.example.com
-16 server4.example.com
-20 server5.example.com
-24 server6.example.com
-
And finally
-48 serverx.example.com	(everything older then)
..
* Now the client will load a NZB and select the group and send HEAD 
requests for every message-id
* the client now knows the ‘injection-date’ of the message
* The client calculates from localtime to ‘injection-date’(GMT)
* When the article is between 8-12 hours old the client will send the 
BODY request to server2.example.com

Using a combination of memory and flash technology I probably would be 
able to lower disk IO up to 50% while doubling capacity during peak 
moments (wild guess).
A problem that needs a workaround is connection accounting.


Your help and ideas are very much appreciated.

With kind regards,
Sebastiaan Jansen

KPN
The Netherlands
Sebastiaan”a point”Jansen at kpn.com
Technical Details
Message-ID: <4b184692$0$14130$703f8584@textnews.kpn.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!ecngs!feeder2.ecngs.de!213.75.85.109.MISMATCH!pfeed09.wxs.nl!newsfeed.kpn.net!pfeed14.wxs.nl!pfeed15.wxs.nl!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <4b184692$0$14130$703f8584@textnews.kpn.nl>
Subject: usenet optimalisation idea for compact high bandwith env
Date: Fri, 04 Dec 2009 00:15:27 +0100
From: newsmaster <newsmaster@planet.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!ecngs!feeder2.ecngs.de!213.75.85.109.MISMATCH!pfeed09.wxs.nl!newsfeed.kpn.net!pfeed14.wxs.nl!pfeed15.wxs.nl!not-for-mail
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
Newsgroups: news.software.nntp
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 81
NNTP-Posting-Host: 85.146.99.19
X-Trace: 1259882130 textnews.kpn.nl 14130 85.146.99.19:59945
X-Complaints-To: abuse@planet.nl