🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82332

Re: usenet optimalisation idea for compact high bandwith env

#82332
From: Sebastiaan Jansen
Date: Thu, 10 Dec 2009 07:18
95 lines
5223 bytes
Curt Welch schreef:
> Sebastiaan Jansen <anon+@fake.nl> wrote:
>> Julien ÉLIE schreef:
>>>> * 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
>>> Why should it select the group before sending HEAD requests by
>>> message-IDs?
>>>
>>>
>> sorry, I don't know exactly how nntp client-server communication works.
>> thanks for the leason
>>
>>>> * 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
> 
> HOURS???
> 
> Oh, I didn't see that in the first few reads.  I assumed the numbers were
> for days. With typical retentions reaching hundreds of days, why would you
> be thinking to distribute load in 4 hour increments???
> 
> I really don't grasp what you are thinking this will solve.
> 
> 
> 
> 
>>>> BODY request to server2.example.com
>>> That is to say that the clients disconnects from the server and opens
>>> a new connection to server2.example.com?
>> yes, I believe that's possible?
> 
> Sure that's very possible.
> 
>>> Will your servers keep exchanging articles between each other?
>>> I mean that articles will keep being sent from server0 to server1,
>>> which also sends to server2, etc.  As soon as an article is 4 hours
>>> old, it should be transferred from server0 to server1, etc.
>>> Won't it cause problems?
>>>
>> no, all servers will be able to serve all (the full retention) articles.
>> users abusing this need to be detected (by analysing logs for example)
> 
> So again, you are suggesting the users distribute their load across your
> load balanced servers why exactly???  Why will this make your servers work
> better and save you money that you can then pass along to the users to
> offset the trouble you will cause them by forcing them to support a new
> NNTP protocol extension?
> 

I'm hoping to get some win by lowering the cache preasure on the 
frontends, but a real life scenario would need to be tweaked for optimal 
rendement (the hours where the usage dencity is the highest). So I'm not 
deciding how it should be configured yet.
RAM is rather cheap, and a good caching algoritm on the server would be 
able to make something out of it.. what the perfect key between RAM 
versus serving hours of retention should be, I can't guess.
You can get 72 GB DDR3 server RAM for 2500 USD. I'm guessing my users 
only actively read 1/3 of the feed. So 72GB would make a full hour. I 
don't know what the memory->NIC output will be when I higher the 
preasure to 4 hours per 72 GB config.
Maybe add-in cacheFS on top of my FC shared spools and use SSD's 
combined with the 72GB RAM.

You have to look at it this way, users are being upgraded to 
eurodocis3.0 VDSL2 and fiber-to-the-home internet. We run a free binary 
uncaped news server with a full retention over 30 days and have a daily 
usage which I can't tell because of politics, but it's significantly large.
In the next 2-3 years that bandwith usage will double.
All IO caching mechanism's in the backend failed, and all caching 
mechanism's in the frontend have failed.

I believe it makes more sence to extend usenet and setup+tweak frontend 
caches, than writing loadbalancers/switches that can do near atomic age 
based redirecting under this load, or is it a good/accepted solution?

optimizing to serve 20% percent from cache would take out 2 disk 
backends in the future.

Thank you.
Technical Details
Message-ID: <4b20a0eb$0$14116$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!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!novso.com!213.75.85.109.MISMATCH!pfeed09.wxs.nl!newsfeed.kpn.net!pfeed14.wxs.nl!pfeed15.wxs.nl!not-for-mail
References: <4b184692$0$14130$703f8584@textnews.kpn.nl> <hff01g$9n7$1@news.trigofacile.com> <4b1c9b3e$0$14123$703f8584@textnews.kpn.nl> <20091209193839.067$2d@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <4b20a0eb$0$14116$703f8584@textnews.kpn.nl>
Subject: Re: usenet optimalisation idea for compact high bandwith env
Date: Thu, 10 Dec 2009 08:18:58 +0100
From: Sebastiaan Jansen <anon+@fake.nl>
References: <4b184692$0$14130$703f8584@textnews.kpn.nl> <hff01g$9n7$1@news.trigofacile.com> <4b1c9b3e$0$14123$703f8584@textnews.kpn.nl> <20091209193839.067$2d@newsreader.com>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!novso.com!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
In-Reply-To: <20091209193839.067$2d@newsreader.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 95
NNTP-Posting-Host: 84.86.240.45
X-Trace: 1260429547 textnews.kpn.nl 14116 84.86.240.45:52478
X-Complaints-To: abuse@planet.nl