Web Tool Bag  
Home · Articles · Downloads · Discussion Forum · Web Links · News CategoriesFebruary 05 2012 09:29:44
Navigation
Home
Articles
Downloads
Discussion Forum
Web Links
News Categories
Search
Users Online
Guests Online: 4
No Members Online

Registered Members: 625
Newest Member: nownigcheencex43
Forum Threads
Newest Threads
reverse mortgage
Science channels in ...
How can I see the fu...
Order Flagyl Without...
X-Rumer 7.0 - best s...
Hottest Threads
Installation [11]
Hermoine nude [6]
Captcha picture d... [6]
Integrate with Vi... [5]
Any questions and... [5]
Trusted web hosting

Coupon Code
WEBTOOLBAG
Latest Articles
jQuery Accordion - m...
Few Guidelines for W...
Move OST to PST to U...
Microsoft OST vs. Mi...
Tips for Specialized...
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 zdravko on July 19 2010 21:20:05 1579 Reads · Print
Ratings
Rating is available to Members only.

Please login or register to vote.

No Ratings have been Posted.
Login
Username

Password



Not a member yet?
Click here to register.

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

Symfony

Zend

PHPDevShell

PHP on TRAX

eZ Components

Fusebox

PhpOpenbiz

Prado

QPHP

Seagull

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

Vince
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

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

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

PHP Obfuscator
Copyright © 2012 - www.webtoolbag.com