Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Plug-in architectures

by tomhukins (Curate)
on Mar 14, 2002 at 08:58 UTC ( #151635=note: print w/replies, xml ) Need Help??

in reply to Plug-in architectures

As perrin mentions, this may be too complex a solution to a comparatively simple problem. However, if you decide to take this approach, you'll probably find that ZIP files are a better choice than .tar.gz files. Open Office uses ZIP files to store multiple files in a single file, claiming that ZIP is better than .tar.gz for on-demand loading of archived files.

Replies are listed 'Best First'.
Re(2): Plug-in architectures
by FoxtrotUniform (Prior) on Mar 14, 2002 at 16:07 UTC

    bzip2 is another alternative for compressing files.

    Update: I mentioned bzip2 for completeness, not as advocacy. tomhukins' points below are quite valid.


      bzip2 is great if your aim is to compress files as small as possible. It's much slower than gzip and ZIP encoding, though, so for files which are frequently read from or written to, as we're dealing with here, it's inappropriate. Also, bzip2 is just a compression mechanism: you'd still need to use something like tar to archive multiple files into one file.

      See the Open Office document I mentioned earlier for an explanation of why .tar.gz encoding isn't the best approach, then add the comparative slowness of bzip2 (especially for compressing files), and you've got a solution which is far from optimal.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://151635]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2018-03-21 02:32 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (263 votes). Check out past polls.