![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
So Fucking Banned
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
|
Speeding up PHP
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jul 2002
Location: A warm place.
Posts: 634
|
I've used it. IMHO it's not worth the trouble. I do use
APC Cache though, it seems to be more reliable. If you really want to speed up your PHP scripts use JP Cache when possible. It did magic on my gallery script(s).
__________________
I couldn't possibly know what I'm talking about, I'm completely, absolutely and definitively out of my fucking mind. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Feb 2002
Location: European Union
Posts: 1,124
|
I am using it on my website which is 100% PHP & mysql. It helped A LOT bringing down my server's load. Very easy to install, no negative side effects ... and it's free too :-))
__________________
Make Money with true niche programs like Adult ECards - Pantyhose Fetish - Men in Pantyhose ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Feb 2003
Location: Brisbane, Australia
Posts: 735
|
IMHO dont bother with them. They will give you a 3-5% increase in speed, but thats about it. It doesn't make for a very scalable system. Look at which part of the script is slow and improve it.
Using a cacher or optimiser is sort of 'cheating' and is only a short term solution.
__________________
lol internet. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Join Date: Dec 2002
Posts: 542
|
Quote:
Sorry, but this is absolutely not true. I don't know how many hits you have but if you have a lot you will see a significant increase. I am running 500,000 database intense hits per day on one machine with php accelerator and no worries at a load of 0.2 - 0.4 .. ( 1 gig of ram and dual 1ghz cpu) .. You can significantly speed up your sites if you use the new Smarty template engine http://smarty.php.net in combination with php accelerator. Plus, use the caching function of Mysql 4.x and you save a lot of money as you don't need additional hardware to scale your traffic. How do you define 'cheating' in relation to a cacher? Greetings Mike |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Sep 2002
Location: UKStyle.UKFlow
Posts: 1,767
|
I'm gonna give one of these a go, the php system for my perclick program is gonna need to be optimized (I'm reprogramming it right now).
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Join Date: Feb 2003
Location: Brisbane, Australia
Posts: 735
|
Quote:
It uses PHP 4 and MySQL without ANY middleware caching. It does use one C program, but that is only due to PHP's poor memory management when handling large volumes of data. PHPA only does one thing, and that is stores a cached copy of the php script in memory, so that each time it is called, it doesnt need to recompile it again. This is a good feature to have around, but belive me, 95% of the time, waiting for PHP to compile the script is the least of peoples worries. Most of the time (depending on hardware) it takes the OS longer to seek the file and read it than it does PHP to compile it. That said, please dont mis-interpret what im saying about 'cheating'. Im saying putting PHPA on when the box starts maxing out is the EASY way out. Fuck timing your scripts to see where the slow down is, lets just install PHPA and forget about it. PHP in most cases is ultra fast. It is only slow when you do dumb things. Most of these things aren't even PHP's fault (reading and writing to files / large databases). If your box is running at a high load, putting Zend Optimizer or PHPA on it should be the last thing you do. As with everything, this is just my take on things. I want my code to be uber-fast on everybox that has PHP. ![]()
__________________
lol internet. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Join Date: Aug 2002
Posts: 1,844
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |