Solved

PHP file upload on shared hosting really slow?  How can I measure/speed up?

Posted on 2007-11-23
8
785 Views
Last Modified: 2008-02-01
Hello everyone, asked a few questions before regarding this topic and got some great answers.  But now I wanna take it a step further.

I have made a file upload form sent to a PHP page to handle the file.  I also used a Perl script to give a progress meter for the upload.

The progress meter shows that for my godaddy shared hosting account the file upload moves at 50 kb/s .  I want to find a way to speed this up.  I know when I download a file from my gmail account, the file dialogue box that pops up downloads at like 350 kb/s .

Is there a way to throttle my godaddy shared hosting bandwidth?  Or should I find a new hosting account?  Is there a measurement I should look for to be able to see how fast I can upload at?

One more question is if 10 people upload a file at the same time at 50 kb/s, should one person be able to upload at like 500 kb/s?  Does that make sense?  What are the methods used to measure server speed?
0
Comment
Question by:parlays
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 36

Assisted Solution

by:Loganathan Natarajan
Loganathan Natarajan earned 50 total points
ID: 20341937
whenever you go for shared hosting account, it is restricted the memory of speed as well as the feature... i would say just confirm with the hosting provider regarding this and try to see what could be done on that...
0
 
LVL 19

Accepted Solution

by:
SteveH_UK earned 250 total points
ID: 20342071
Note that most users have asymmetric bandwidth.  This means that they can download much faster than they can upload.  You should test what your connection is capable of, as it may not be the hoster that is limiting.

Try
http://myspeed.visualware.com/
0
 
LVL 19

Assisted Solution

by:SteveH_UK
SteveH_UK earned 250 total points
ID: 20342074
For myself, the geographic tests are informative as I can get 4Mbps download locally but only 1.3Mbps download extra-continental.
0
MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

 
LVL 17

Assisted Solution

by:nplib
nplib earned 100 total points
ID: 20342772
it also could be your ISP, most ISP's have a different download speed from their upload,

for example,

Bell Hishspeed DSL downloads at 3 Mbps, but their upload is at 800 kbps, have you uploaded to anywhere else at a faster rate?
0
 

Author Comment

by:parlays
ID: 20343335
I will do an upload and download check with my server and with other websites.

But aren't there any measurements or ways of testing my hosting server?  Isn't there a factual piece of data they provide that I can easily see to know the server speeds?  Isn't server speed an issue you guys face and have to deal with?
0
 
LVL 19

Assisted Solution

by:SteveH_UK
SteveH_UK earned 250 total points
ID: 20343582
No, in fact this is a complaint that most people have against them.

There are lots to consider as well:

Congestion spots
Contention ratios
Their advertised speeds
Their actual speeds! (sometimes they have contention ratios too!)
All the routers in between
And then your clients.

Yes we have to deal with the issue, but there isn't really much factual data to go on.
0
 

Author Comment

by:parlays
ID: 20343972
Well thanks for the info, dissapointing reality, but thanks for opening my eyes to it.  I'll award points soon, one more thing.  Isn't there another way to measure server speed or performance over a period of time or at once?

I finally got my upload speed when I used a Perl script to give a progress meter for uploads.  Is there something that measures the server speed over a period of time and records it or at least tests it over a 5 minute period or something?
0
 
LVL 21

Assisted Solution

by:nizsmo
nizsmo earned 100 total points
ID: 20344019
http://www.speedtest.net/

You can test your connection speed for your speed limits.
Basically your upload's speed is the visitor's download speed, so it is the opposite.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

742 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question