🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #71131

Re: binary segment size and storage requirements

#71131
From: Curt Welch
Date: Mon, 25 Apr 2005 04:20
24 lines
2255 bytes
noreply@nohow.org wrote:
> I'd like help in settling an argument.
>
> My friend Lenny claims that for most nntp servers that accept articles up
> to 4MB, each binary segment posted takes a full 4MB on the server.
>
> I'm running an inn2 server with 4MB article limit, and on my server, a
> 300k binary segment takes up maybe 305k.  That's in the worst case, and
> it's a far cry from the claimed 4MB.
>
> Having read about other storage methods, I can't imagine how Lenny could
> be correct.  Can you guys help me out?  How would you even go about
> making a news server that inefficient?

No server ever written wastes 4BM to store a 2K article.  Modern servers
waste even less space because articles are typically stored end-to-end.  My
server only adds 3 extra characters between articles (DOT CR LF) and a
single 4 byte pointer per article.  A 1000 byte article only uses 1007
bytes of stoarge space on my disks (not counting other general overhead
which is substantial but not really important to your point).

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                                        http://NewsReader.Com/
Technical Details
Message-ID: <20050425002014.392$ho@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.20140818.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!newsh.newsreader.com!ellis.newsreader.com!not-for-mail
References: <6TVae.33928$hu5.26389@tornado.texas.rr.com>

Show Full Headers
Complete Article Headers
Message-ID: <20050425002014.392$ho@newsreader.com>
Subject: Re: binary segment size and storage requirements
Date: Mon, 25 Apr 2005 04:20:14 +0000
From: curt@kcwc.com (Curt Welch)
References: <6TVae.33928$hu5.26389@tornado.texas.rr.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.20140818.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!newsh.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com ZZJs9.I,@03B2icQuHn,pNZZV.a4TNvvY9Z9fwI0SKV,mg
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,
 ?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 24