Web Hosting Talk







View Full Version : What is throttling?


captainccs
11-25-2002, 06:47 PM
Hello!

I've been lurking here for about 24 hours and I liked what I saw!

I have a question: What is throttling?

The reason I ask is that my current web host is very fast at times and very slow at other times. Mostly the .html pages load fast but the .php pages can take up to a minute to start loading.

I have not been able to get a satisfatory solution for their help desk. At one time they told me to be careful about "throttling" but when I asked what "throttling" was I got no reply.

Thanks for your help!

Zoltrix
11-25-2002, 07:23 PM
The definition of throttling from Dictionary.com says

"To regulate the speed of something with a throttle. "

But when it is related to web hosting, It is more or less

"To regulate the speed of bandwidth"
Bandwidth being your data transfer from your website.

The reason I ask is that my current web host is very fast at times and very slow at other times. Mostly the .html pages load fast but the .php pages can take up to a minute to start loading.

PHP pages have operations; some have more then others depending on the page. These operations are done on the web server and take time. The operations can range from adding numbers, to finding dates or gather information from a database. When an operation is complete, the script generates a HTML page which is sent to your web browser. HTML pages are simply just code that is sent to your browser and then displayed. The server dose not take any time (or very little) to prose’s a HTML page compared to a PHP page.

If it is taking up to 1 minute to possess a PHP page, then their could be one of 2 problems. The PHP page/script is written horrible and is taking to much of the servers power and their for takes a wile to prose’s and send to your browser. The other problem is that your host may be overusing the server by packing in as many clients as he can fit. This results in slow times for scripts.

What PHP Script are your using? I think its your host packing to many clients oh his server.

captainccs
11-25-2002, 09:08 PM
Chris:

Thanks for your reply

What PHP Script are your using? I think its your host packing to many clients oh his server.

Most if not all my php code is home grown and very simple, mostly includes of headers, footers and menus. Some do process forms and access a MySQL database. I have been a programmer long enough to believe that my code is not horrible :)

These same php pages at times load in just a few seconds and that leads me to believe that the servers are overloaded.

But the question still remains, what did the help desk mean when they said that I should be careful not to throttle the server? :confused:

Thanks for your help!

Zoltrix
11-25-2002, 09:22 PM
Hmm… In this case, I guess it dose not relate to bandwidth although it usually dose, so I came to that quick conclusion. In this case Im guessing it relates to the CPU stress. Your host seems to be convicting you for using all of the servers CPU power. If all your doing is using PHP to add headers (probably using the include() command) and sending some forums, then their truly is very little stress. It should be slightly higher then your HTML pages. My guess is that someone else on that server is running some intensive forums.

At peak internet access times many people log onto his website and, they access his forums. Forums can kill a server; it depends a lot on the forums, never the less it still results in "slowness" for everyone else on the server. When every one runs into his forums, and runs the forums script, it can use hundreds or even thousands of process and quires a minute. This causing slowness to your website and slowing down your access time.

I mean, a simple and most effective solutions would be to some research for a new host and then sign up with your verdict. If you are looking for speed and reliability, then don’t go to cheap, don’t pay to much. Find somewhere in the middle with good support.

:)

captainccs
11-25-2002, 09:35 PM
Chris:

I mean, a simple and most effective solutions would be to some research for a new host and then sign up with your verdict. If you are looking for speed and reliability, then don’t go to cheap, don’t pay to much. Find somewhere in the middle with good support.

That's exactly what I'm doing. The two lessons I learned were:

1.- Stay away from all hosting services that offer :sickface: bandwidth

2.- Don't pay for the whole year in advance :(

Thanks!

Zoltrix
11-25-2002, 10:56 PM
Oh yeah, Well Don’t you wish you would have found this forum earlier :rolleyes:

I hope you didn’t lose to much in the web hosting gamble. Im sure you didn’t as most unlimited hosts offer dirt cheap plans.

And from you telling me that your host is unlimited, Im almost cretin that they have at least 800 clients on a box that should have no more then 50. It’s the way some hosts operate, Gives the rest of us a bad taste in our mouth.

Good luck in your search for a new host...