Click to See Complete Forum and Search --> : Website inexplicably running slow


Beedge
04-02-2007, 11:52 AM
Hi all,

Im not sure if anyone can help with this but here goes.

I am developing an application that is installed on the customers PC. It is a PHP MySQL database driven content management system for an auctioneer.

I install WAMP on the clients PC and all updates are done locally. He then hits 'synchronise' to update the live version of the database sitting on an external server..
Still with me?

Anyway my problem is this, It has been working fine right up to today but now its slowed down to a crawl on the syncronisation process, sometimes timing out.

I have two different broadband connections and it works fine on one but not the other..

The one it dosent work on is a much faster connection ( I compared both on numion.com and the slower connection is the one that has no problem with the sync process!! :( )

Does anyone have any suggestions as to how that can be? it dosent =make any sense to me

Thanks guys, I appreciate any help on this

raaam
04-02-2007, 11:36 PM
hi,

is any one particular page slow or all pages?

if any one is slow... you will use following function in your page

set_time_limit(0); -> put this function which file is slow..

( this function provide maximum execution time to a page )

Beedge
04-03-2007, 02:49 AM
Nope, It happens on every page which communicates with the remote server,
I have already changed those execution time limits, but thats not the issue.
Its really weird because I have two computers sitting side by side, a laptop and a PC,

They both run slow when connected to the faster broadband connection,

When I plug the laptop into the slower connection it runs perfectly,
The PC is more powerful has a much faster connection and yet runs at a snails pace between the two servers.

Now add this into the mix, I have been using IE7 on both units, however when I run the slow PC using FF it suddenly speeds right up, but its not a browser issue because IE is running fine on the slower laptop,

To be honest its such a weird situation I dont really know if it can be resolved , but Im putting it out there in case there is something Im missing?

Beedge

MrCoder
04-03-2007, 03:35 AM
Contact your ISP, check if they are doing anything to your line / service.

NightShift58
04-03-2007, 04:44 AM
Synchronizing involves a two-way communication. Most broadband lines have different upload and download speeds. One, the download, is usually faster the upload. But, once your data reaches the ISP, that speed is almost irrelevant because your data is now competing with the rest of the data trying to get in and out of your ISP's data center. In other words, a "fast" line is only really guaranteed to be fast between you and your ISP. Beyond that...

What may also be happening is that the "slower" line may be connected to a different ISP, one which due to the "slower" speeds offered, may have less data passing through its data center, offering less resistance. Even if it's the same ISP, the slower traffic may be routed differently than the faster one - and turn "fast" traffic into "slow" traffic or the other way around.

Also, the line with the faster download sppeds may not necessarily have the faster upload speeds - though it usually does.

Your ISP may have be routing some of its traffic differently...

Or have a defective piece of equipment who replacement hasn't come in...

And on it goes, a myriad possibilities - but you'll never get a definitive answer - not here and not from your ISP.

One day, without warning, everything will work again as it used to.