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-11-2004, 03:48 PM   #1
infecto
Confirmed User
 
Join Date: May 2003
Posts: 1,697
Server Load Question?

Any of you have much knowledge with server loads using php? Trying to figure out how bogged down a server would get if I was using a bit of php in each page. Say the server is getting 100k+ hits a day across hundreds to thousands of pages. The php involved in each page would just be passing the variable from the url then including a file with variables in it based upon the variable in the url. I am comparing it to just creating static pages but of course the amount have static pages would be 10x the amount of doing it by php. But by using static pages would it relieve alot of the server load and maybe some bw? Since I would need the pages to load quickly and smoothly I am just trying to weight the options of doing it either way. If any of you sales reps from hosting companies would like helping me out give me a yell by all means (ICQ: 146664255). I am looking for nice dedicated server options at the moment =). Thanks!
infecto is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-11-2004, 03:54 PM   #2
the_wizz
Confirmed User
 
Join Date: Dec 2003
Location: hmmm.....
Posts: 1,633
Quote:
Originally posted by infecto
If any of you sales reps from hosting companies would like helping me out give me a yell by all means (
I wouldn't ask the sales weasles about the server loads, go to a techie.

That being said....

If you're not running any kind of big overhead like mysql, then you should be safe. A small ammount of PHP isn't going to harm the server to any great extent.
__________________
Promote the Best
the_wizz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-11-2004, 03:59 PM   #3
infecto
Confirmed User
 
Join Date: May 2003
Posts: 1,697
Yeah at first I was thinking mysql but it would have eaten up the server. So I figured if I just stored the few variables I needed in the users file name.php and included it depending on what was passed through the url it shouldn't be that much of a load. Since the variables would only be links and the only other php needed would be to display the links and thats it.
infecto is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-11-2004, 04:03 PM   #4
Pun
Confirmed User
 
Join Date: Oct 2003
Location: Seattle
Posts: 379
It's always been my opinion if you can do it static, and you're going to be pushing decent volumes, do it static. Dynamic content, no matter how insignificant it seems, always produces more cpu / memory stress than a purely static html page does. If you have the means, I'd suggest just trying it out and checking for yourself, but if I were consulting on the project I'd strongly recommend strictly static provided it wasn't a burden on development.
__________________
TrafficHolder.com - Buy/Sell Adult Traffic
ICQ: 18771941
Pun is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-11-2004, 06:03 PM   #5
Volantt
Confirmed User
 
Join Date: Nov 2003
Location: Penguin vs Devil
Posts: 745
Checkout some PHP cache programs... Like

Turk MMcache...

V
__________________
"Only the dead have seen the end of war." - Plato
"In the abscence of orders, go find something and kill it." - Erwin Rommel
"A man's worth is no greater then the worth of his ambitions." - Marcus Aurelius
Volantt 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.