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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-16-2003, 07:26 PM   #1
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
Speeding up PHP

ANybodu use this?

http://www.php-accelerator.co.uk/
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2003, 09:27 PM   #2
dnsmonster
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.
dnsmonster is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2003, 11:04 PM   #3
jennycards
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 :-))
jennycards is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2003, 11:11 PM   #4
kad
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.
kad is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-17-2003, 03:48 AM   #5
Trafficbrokercom
Confirmed User
 
Join Date: Dec 2002
Posts: 542
Quote:
Originally posted by kad
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.

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
Trafficbrokercom is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-17-2003, 08:41 AM   #6
senseidru
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).
__________________
senseidru is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-17-2003, 08:58 AM   #7
kad
Confirmed User
 
Join Date: Feb 2003
Location: Brisbane, Australia
Posts: 735
Quote:
Originally posted by Trafficbrokercom



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
Let me preface my comments by stating that I designed and co-wrote http://www.darkblue.com. This system serves out more than 100 million impressions a day (and counts them ofcourse), as well as tracking clicks, leads and sales. It reports statistics to both advertisers and its thousands of affiliates in real time.

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.
kad is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-17-2003, 08:59 AM   #8
roly
Confirmed User
 
Join Date: Aug 2002
Posts: 1,844
Quote:
Originally posted by juicylinks
ANybodu use this?

http://www.php-accelerator.co.uk/
i'm no expert but i use it and seems ok, there's also zend optimizer which may be worth looking at, you can't install both though. And mod_gzip is worth installing too.
roly is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.