Raised This Month: $51 Target: $400
 12% 

Downloading: .bz2 zipped items


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
robotortoise
Senior Member
Join Date: Nov 2013
Old 06-14-2014 , 22:27   Downloading: .bz2 zipped items
Reply With Quote #1

Is it more effective to create a few giant bz2s full of server files (think models, materials, sounds) and have a client download that or individually zip each file with bz2? Or is there no noticeable performance hit?

I'm talking about downloading speed.
robotortoise is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 06-15-2014 , 00:17   Re: Downloading: .bz2 zipped items
Reply With Quote #2

bz2 is a single-file compression format, so you don't have any option to do otherwise.
__________________
asherkin is offline
robotortoise
Senior Member
Join Date: Nov 2013
Old 06-15-2014 , 01:47   Re: Downloading: .bz2 zipped items
Reply With Quote #3

Ah, thanks. I didn't want to test on my server and break all the files.
robotortoise is offline
Ade
I love purple
Join Date: May 2010
Old 06-16-2014 , 04:05   Re: Downloading: .bz2 zipped items
Reply With Quote #4

but if u have too many files like tiny lil sound files then zipping them would be pointless as it would take more time to dl the archived version and unzip than to simply dl the unarchived version
__________________
Ade is offline
robotortoise
Senior Member
Join Date: Nov 2013
Old 06-16-2014 , 16:41   Re: Downloading: .bz2 zipped items
Reply With Quote #5

Quote:
Originally Posted by Ade View Post
but if u have too many files like tiny lil sound files then zipping them would be pointless as it would take more time to dl the archived version and unzip than to simply dl the unarchived version
Really? What would you say the cut-off point is?

At this point I just compress every file.
robotortoise is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 06-16-2014 , 17:31   Re: Downloading: .bz2 zipped items
Reply With Quote #6

Personally, I do anything over 3MB.
Maxximou5 is offline
robotortoise
Senior Member
Join Date: Nov 2013
Old 06-16-2014 , 17:44   Re: Downloading: .bz2 zipped items
Reply With Quote #7

But...so let me get this straight. It's counter-productive to bz2 anything under 3mb?
robotortoise is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode