Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Serving tarball contents as part of your webspace (impractical but fun)

by Aristotle (Chancellor)
on Jan 05, 2002 at 22:29 UTC ( #136566=note: print w/replies, xml ) Need Help??


in reply to Re (tilly) 1: Serving tarball contents as part of your webspace (impractical but fun)
in thread Serving tarball contents as part of your webspace (impractical but fun)

That’s why I tried Archive::Zip - zipfiles contain individually compressed files. However, as I said, performance improved only marginally at best. The problem that you get a multitude of simultaneously running scripts all doing the same, very CPU intensive thing remains, after all. Losing the tarball is not helpful since the main idea was to keep a document tree that consists of oodles of tiny snippet files from eating an ungodly amount of inodes.

You’re giving me an idea though – I’ll check to see how it performs with an uncompressed zipfile. I know uncompressed tarballs won’t make a huge difference since Archive::Tar always slurps the whole tarball into memory no matter what. However, zipfiles are indexed, and maybe Archive::Zip is smart enough to exploit that in which case this thing may actually be useful.

I’ll update as soon as I’ve found the time to run a quick check.

  • Comment on Re^2: Serving tarball contents as part of your webspace (impractical but fun)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://136566]
help
Chatterbox?
and the rats come out to play...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2017-08-20 01:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (313 votes). Check out past polls.

    Notices?