Jump to content

My website is very much Slow

- - - - -

  • Please log in to reply
4 replies to this topic

#1
lol33d

lol33d

    Programmer

  • Members
  • PipPipPipPip
  • 149 posts
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

#2
fread

fread

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 787 posts
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
t0asty

t0asty

    Newbie

  • Members
  • Pip
  • 7 posts
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
plb

plb

    Newbie

  • Members
  • PipPip
  • 18 posts
Try to cache some data. I've got almost the same problem and this helped a lot. Good luck!

#5
jerrywickey

jerrywickey

    Learning Programmer

  • Members
  • PipPipPip
  • 39 posts
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?




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users