Hi guys
My web site is very slow for loading up
my project has 48 classes connected to database, and all classes include in all pages, is it a problem or not?
Give me Some solution please
thank you
4 replies to this topic
#1
Posted 13 January 2012 - 01:29 AM
|
|
|
#2
Posted 13 January 2012 - 05:03 AM
It is a bit Difficult to get a complete idea. But if you have to load 48 classes per page for each page, your design could be the problem.
Perfection of means and confusion of ends seem to characterize our age. Albert Einstein :confused:
#3
Posted 13 January 2012 - 11:50 AM
Are you sure its your wrong doing and not your hosting that's slow? And yes, the more your server has to do the longer it will take to load.
#4
Posted 15 January 2012 - 05:14 AM
Try to cache some data. I've got almost the same problem and this helped a lot. Good luck!
#5
Posted 16 January 2012 - 09:47 PM
I just found sys_getloadavg() while looking into an issue im working on. Im considering either delay with sleep() or http status 503 (i think 503) may be a solution for you as well if the system load is too high
this my be a solution for you as well so long ad you have already looked into streamlining your sql database.
Sys load returns values for the current number of processes running. However its unclear about if these are only php or all server activities and the value is to the hundredth place, but usually over 1
Anyone know what values represent acceptable server loads?
this my be a solution for you as well so long ad you have already looked into streamlining your sql database.
Sys load returns values for the current number of processes running. However its unclear about if these are only php or all server activities and the value is to the hundredth place, but usually over 1
Anyone know what values represent acceptable server loads?
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









