Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Mar 2003
Posts: 215
Junior Member
Junior Member
Offline
Joined: Mar 2003
Posts: 215
I'm trying to find some info about zlib/gzip compression.

Enabling compression is *really* speeding up ubb page load times. What kind of overhead does enabling compression with ubbthreads cause or does it make the connections actually speed up and can handle more hits in less time due to quicker sending? and what kind of problems might end users have if it's enabled?

Thanks

Sponsored Links
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
I've been using zlib/gzip compression for a long time, without any server problems or complaints by users.

Technically, it forces the server to do a bit more work, and if your site gets a very large number of hits, it might overtax the CPU.

If you have a dedicated server, you could monitor the loading with and without compression, and see if there's any significant difference. If you have an account on a shared server, and you're concerned about load, you could ask your web host about it.

Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
I have always run with compression on, and I'm on a dedicated server. I think for the most part, you would be better off with it on. Once you started getting 100+ people online at a time, you may want to test it with or without compression and see what kind of load differences you have. But I think on most higher end hardware it would be good to have on.

But, you do raise a good question, as I haven't tested it with a higher number of users. I may try to tests on my site during peak times next week, just to get a better idea at the kind of differences one can expect.

Joined: Apr 2003
Posts: 6
Lurker
Lurker
Joined: Apr 2003
Posts: 6
We're taking 400-600 people mostly, right now. It seems with compression =on= that load times are a bit faster...

What is the good thing about having compression on?

Does it matter that we only have 512MB ram?

Thanks

Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
Well, like you said, load times will be faster for users. But.. the drawback is the CPU overhead with turning on compression. So you should monitor the actual server loads, as that is what compression will affect most. So it is a a give or take, and will depend on your server hardware. If your server is seeing high loads with gzip on.. you may want to turn it off, to sacrifice slightly longer user load times to bring the load of your server down.

THere are no set rules to this, as it all depends on so many individual factors and prefrences

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)