🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #69520

Re: beta server

#69520
From: Francois Petillon
Date: Mon, 03 Oct 2005 14:14
25 lines
2502 bytes
On Thu, 29 Sep 2005 10:18:13 -0500, YottaNews Support wrote:
>> Why no XHDR?
> It's stupid.  It's like zipping an mpeg movie to "compress" it.  I'll
> explain a little better.  The clients that use it are claiming it allows
> them to download the headers more efficiently.  In reality it's a very
> inefficient method of obtaining overview/header/xover data.  All of the
> brain dead clients that I've seen try to use it actually download nearly
> the same amount of data as using the XOVER command and burn up 50-100
> times the CPU cycles doing it.

No, your problem is mostly related to your architecture. If you have a
prebuild xover, then all others requests may be wasteful. 

Dreaderd keeps a full header for all articles. A xover will be as
costfull as a xhdr, both on CPU (searching needed fields) and disk-IO
(as we work on a range and as headers are stored in flat file, we may load
several headers at once). Head command will be CPU costless and disk-IO
wasteful (there is no "head range" command and, to pre-load headers, you
have to make a guess).

If reads are done using 4x4KB pages and as I store 256 header per file
(1024 for binaries), a user can request 16 XHDR (64 for binaries) before
doing more disk-IOs than head command would do.

  François
Technical Details
Message-ID: <pan.2005.10.03.14.14.27.673188@fanfan.staff.proxad.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news2.google.com!proxad.net!infeed-3.proxad.net!news18-e.free.fr!not-for-mail
References: <1127976543.22bdd0709f9ffa5b1b596c9d99f1f2a5@yottanews> <o6gnj1duqm6pq30pbl5u468n2qn5aeqcjp@4ax.com> <1128006851.2f42395a9a0f8a8f778f9a073e8d1cbd@yottanews>

Show Full Headers
Complete Article Headers
Message-ID: <pan.2005.10.03.14.14.27.673188@fanfan.staff.proxad.net>
Subject: Re: beta server
Date: Mon, 03 Oct 2005 16:14:27 +0200
From: Francois Petillon <fanch@fanfan.staff.proxad.net>
References: <1127976543.22bdd0709f9ffa5b1b596c9d99f1f2a5@yottanews> <o6gnj1duqm6pq30pbl5u468n2qn5aeqcjp@4ax.com> <1128006851.2f42395a9a0f8a8f778f9a073e8d1cbd@yottanews>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news2.google.com!proxad.net!infeed-3.proxad.net!news18-e.free.fr!not-for-mail
User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux))
Newsgroups: alt.free.newsservers
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Lines: 25
Organization: Guest of ProXad - France
NNTP-Posting-Date: 03 Oct 2005 16:14:28 MEST
NNTP-Posting-Host: 213.228.1.105
X-Trace: 1128348868 news18-e.free.fr 20863 213.228.1.105:46008
X-Complaints-To: abuse@proxad.net