Web Tool Bag  
Home · Articles · Downloads · Discussion Forum · Web Links · News Categories · Synonyms DatabaseJuly 18 2024 05:31:26
Discussion Forum
Web Links
News Categories
Synonyms Database
Users Online
Guests Online: 2
No Members Online

Registered Members: 856
Unactivated Members: 118
Newest Member: lakim
Forum Threads
Newest Threads
Error: Cannot find m...
Uncaught Error: _reg...
Module build failed:...
mochi script questions
Hottest Threads
Installation [12]
Any questions and... [5]
Captcha picture d... [4]
Integrate with Vi... [4]
Mods: Sucess/Than... [4]
Latest Articles
Ubuntu: the vpn conn...
Howto Install HP Pri...
ReactJS progress met...
Apache2 speed up
According to Apache’s website, “The mod_deflate module provides the DEFLATE output filter that 
allows output from your server to be compressed before being sent to the client over the network.” 
Basically, it allows you to automatically compress certain file types before the server sends the 
files to the browser (html, css, etc). The browser then decompresses the files once it has received them.

Compress everything except images   

General rule of thumb for hardware upgrades: For PHP scripts, the main bottleneck is the CPU. 
For static HTML/images, the bottleneck is RAM and the network. According to Compaq benchmarks in 1999 
(the original article is lost due to bitrot), a slow 400 Mhz Pentium can saturate a T3 line (that's 45 Mbps) with static HTML pages.

Your PHP scripts are recompiled every time unless the scripts are cached. Install a PHP caching product 
(I recommend Turck MMCache) to typically increase performance by 25-100% by removing compile times.

Spread the workload. Run your SQL server on another machine. Serve graphics and HTML from another low-end computer. 
If all static content is served from another server, then you can turn off KeepAlives in httpd.conf on the PHP server 
to speed up disconnects. 1 Feb 2002: I am currently using tux as the static web server, and have set it to pass all 
.php files to Apache which resides on the same machine. 15 March 2002: thttpd is another popular static web server.

Accesses to disk affect performance significantly. Although most modern operating systems keep a cache of the most 
frequently accessed files, Apache also enables you to explicitly map a file into memory so that access to disk isn't 
necessary. The module that performs this mapping is mod_file_cache. You can specify a list of files to memory map by 
using the MMapFile directive, which applies to the server as a whole. An additional directive in Apache 2.0, CacheFile, 
takes a list of files, caches the file descriptors at startup, and keeps them around between requests, saving time and 
resources for frequently requested files.

Posted by admin on July 19 2010 21:20:05 7142 Reads · Print
Rating is available to Members only.

Please login or register to vote.

No Ratings have been Posted.


Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Member Poll
Which PHP framework do you preffer?





eZ Components






You must login to vote.
You must login to post a message.

03/10/2011 18:17
Hi, How to remove Register from Login screen? I don't want them to register and have full access! if you leave register then they should not have any rights until the admin assigns them

26/09/2011 08:28
Please describe your problem with more details. Thank you.

22/11/2010 18:31
Help. There was a problem with the request; error regarding feedbackzdr form program

Custom web software development by Devzone Tech
Copyright © 2024 - www.webtoolbag.com