Web Tool Bag  
Home · Articles · Downloads · Discussion Forum · Web Links · News Categories · Synonyms DatabaseDecember 11 2017 15:28:04
Navigation
Home
Articles
Downloads
Discussion Forum
Web Links
News Categories
Synonyms Database
Search
Users Online
Guests Online: 2
No Members Online

Registered Members: 856
Unactivated Members: 118
Newest Member: lakim
Forum Threads
Newest Threads
Uncaught Error: _reg...
Module build failed:...
Installation
mochi script questions
Redirect with captch...
Hottest Threads
Installation [12]
Any questions and... [5]
Captcha picture d... [4]
Integrate with Vi... [4]
Mods: Sucess/Than... [4]
 
Latest Articles
PHP Fatal error: Ca...
Mouse pointer disapp...
UBUNTU install via U...
Geany tried to acces...
How to create MySql ...
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 20 2010 00:20:05 4818 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

CodeIgniter

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 21: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 11:28
Please describe your problem with more details. Thank you.

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

Copyright © 2017 - www.webtoolbag.com