🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #122489

Re: [XNews] 2GB file limit suggestion

#122489
From: Rupa Schomaker
Date: Tue, 01 Apr 2003 16:42
90 lines
4771 bytes
Tracer Bullet <genpr@arjovrfpubby.pb.hx> writes:

> The door to news.software.readers swung open, and in walked trouble.  Rupa
> Schomaker was pushy, but had a pretty good case... 
>
>> It is sometimes difficult to separate the set of files (CD or book) 
>> after it has been download.  Sometimes, the only distinguishing 
>> characteristic is in the subject itself.  Downloading those files into 
>> a single directory makes it cumbersome to deal with afterwards.  At the
>> same time, the size of any CD or audiobook is small enough that 
>> interactively extracting and then waiting for the download makes the 
>> whole process very slow.  This is also why using a Queue is not gonna 
>> work.  Extracting from a local folder is much faster, and so there is
>> very little time wasted while waiting for the decode between CDs or
>> audio books. 
>> 
>
> You're missing that it takes far -FAR- less time to transfer the headers
> to a queue than it does to an archive.  If you tag a few hunderd files,
> and transfer then to a queue, it will take a few seconds (perhaps as much
> as a minute or two if you tag a LOT of files and you have a slower
> machine) as only the headers are transfered.  Then, just open the queue, 
> tag all of the files and decode them to a directory.  The decoding time 
> will take the same amount of time as transfering to an archive. 

Actually what I'm optimizing is the "latency" between decoding sets of
files.  I transfer a whole set of stuff to an archive over night, then
decode sets of files while all the data is local.

The problem with Queues (and I'll try to do it again) is that I still
have to wait for one (or N if I have multiple queues) to complete
before I can hit F4 again, create a directory, and then decode into
that directory.

If I only transfered the headers, I have to wait for the actual data
to be downloaded an decoded before I can decode another set.  I *can*
use multiple queues for this but I still have to wait for a given set
of files to decode before I can do my next step.

Having the files in an archive means that each decode step is FAST.

Put it in real numbers:

To download a audiobook it might take 1hr.
Lets say I'm doing 5 of them.
With 4 active queues, I have to wait 4 hrs before I can process the
5th. Not good.

With an archive I download all 5 to the archive, and then decode one
at a time.

The decode takes (say) 5min per audio book.

Audiobooks actually aren't that bad this way.  Complete audio CDs are
much worse.  In that case the size of the set of MP3s is pretty small
and there are more of them.

My latency (once all files are downloaded to the archive) is 25min.
Much better time spent.

I'll try the queue thing again, but if it don't work I'll just
continue using the process that has worked for me.

I'm not really suggesting that my way is the "right" way.  I am
suggesting that XNews should abort the download if it sees that the
archive is about to exceed 2G.  The fact that XNews can shoot itself
in the foot isn't a good thing and should be corrected.

I'll leave it at that, I don't want to contribute to the flame fests
that center around this item.  


Umm..  Ideally one could queue a decode action.  Rather than having
the decode directory be tied to the queue (or supplied when hitting
F4), one could tie the directory to the set of files at queue time.
Then just have xnews look at the destination specified at queue time
when it does the decoding.

So, I select a set of headers, do a "^-Q" and Xnews asks for a
directory.  I pick it (or type it or whatever) and then the entries
are added to the queue.  When I hit F4 in the queue directory, the
files are extracted into the directory I specified at queue time.

> -- 
> Cheers,
> Trace 

-- 
-rupa
Technical Details
Message-ID: <m38yuukw8j.fsf@shakti.rupa.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!c03.atl99!news.webusenet.com!newscene!novia!novia!sequencer.newscene.com!not-for-mail
References: <m3r88nmr6u.fsf@shakti.rupa.com> <Xns935058A7C2D272ZhpuSerrGvzr@Where.the.heck.am.I>

Show Full Headers
Complete Article Headers
Message-ID: <m38yuukw8j.fsf@shakti.rupa.com>
Subject: Re: [XNews] 2GB file limit suggestion
Date: Tue, 01 Apr 2003 16:42:16 +0000
From: Rupa Schomaker <rupa+usenet@rupa.com>
References: <m3r88nmr6u.fsf@shakti.rupa.com> <Xns935058A7C2D272ZhpuSerrGvzr@Where.the.heck.am.I>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!c03.atl99!news.webusenet.com!newscene!novia!novia!sequencer.newscene.com!not-for-mail
Newsgroups: news.software.readers
Lines: 89
User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 (gnu/linux)
Cancel-Lock: sha1:rEOQOEOwkTFgQrh89zGPwUk4gYI=
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii