TSO Host

Soldato
Joined
18 Oct 2002
Posts
15,861
Location
NW London
Hi,

A friend of mine is making a new website for my project.

Now, the original version was built on his own server.
He started copying it over to my host (TSOHost), however, the load times are beyond a joke.

This is the website, hosted on his web server (linux).
http://www.s318156197.websitehome.co.uk/aip/
The above took 4 seconds to load on my PC.


This is the website, hosted on TSOhost (Windows).
www.aicore.co.uk
The above took 14 seconds to load on my PC.

Now, a 14 second load time is simply unacceptable.

The web designer has told me that if this site has too many visitors, it will just overload and grind to a halt.

Now, is there anything that I can change in the control panel settings to improve load times?

What is the best way to speed up the loads times?

Would it be better to simply abandon TSOHost and go with another host? If so what is the fastest Windows based host around right now?

Any advice appreciated.

Thanks
 
Have you spoken to TSOHost about this? Their support is phenomenal, and I'd be amazed if there isn't something they can do to help you with this, whether it's changing settings or optimising your code.

Also, what plan are you on? Is it the el cheapo virtual shared dealie?

Also, why do you want windows hosting if you're working in PHP? And before anyone says anything, I know you can run PHP under IIS7 now, but it's like riding a kids tricycle along an f1 track.
 
There are 2 applications which have been created using ASP.NET.
The website use php.
But the web apps, use ASP.Net.

Hence, I am using Windows hosting and Linux.

I've not yet spoken to TSOHost.
 
I'd speak to tsohost, as said they're great to deal with. Appears (on my connection) to be a database problem however...
 
I've just fired off an email to TSOhost.

You say that this is a database problem...how can you tell this?
 
Well the site pings at 22ms, so it's not network related. Also, the site renders pretty instantly once it gets over the initial lag. This leaves either slow to access the database, or slow to verify permissions for the anonymous user that IIS uses to access the content of the site.

I'd agree with 3dcandy and point the finger at the DB.
 
Well the site pings at 22ms, so it's not network related. Also, the site renders pretty instantly once it gets over the initial lag. This leaves either slow to access the database, or slow to verify permissions for the anonymous user that IIS uses to access the content of the site.

I'd agree with 3dcandy and point the finger at the DB.

Same conclusion, once it has got the data it appears pretty instantly...
 
ok.

So its the database. Would this have anything to do with the site being hosted using a Windows server (vs Linux)?

Is there anything which I can suggest to my web developer to try out?
 
I'd think this is more likely to be a config issue on TSO's part. When it comes to the code side of connecting to a database, it either works or it doesn't.

If it works and it's slow, then there's something wrong in either the settings of the DB (I'm guessing SQL) or the machine's firewall.
 
Obviously 14 seconds isn't normal - I'd open a ticket and they'll sort it out for you.

If you're running a PHP app on Windows, run it under Linux and it'll fly.

If you need Win + Linux (ie need to run ASP and PHP simultaneously) I believe they offer a hybrid mode which lets you run both on the same domain (PHP runs on the Linux servers, ASP on the Windows servers) which is awesome :)
 
I just got a reply from them:

What I would recommend is setting your site to 'Hybrid Hosting with Linux Bias' with the drop down. This will run your Joomla installation through our Linux servers, but your .asp and .aspx files would get served via Windows.

After making the change, you'll need to wait a few hours for the DNS to propagate.

My problem is that when I tried using the Hybrid system, my asp.net page failed to load (http://www.aicore.co.uk/webclient/)

The above web app is the center of the entire project, so I can't afford to have that web app fail to load.

Anyway, I think I am going to give the hybrid setting a go. I have also asked the TSOhost staff to try making the change themselves and seeing if it works.
 
Yep.

I just made the change to hybrid hosting.
I've also checked the webclient page and it is loading.

The change hasnt yet taken effect.

Once http://www.aicore.co.uk/webclient/ fails to load, this will show that the change has taken effect.

The TSOHost rep stated that I would then need to use
http://www.aicore.co.uk/webclient/default.aspx
to load the web app and it should work, so now, it is just a case of waiting and seeing whether or not the website speed increases to acceptable levels, or not.
 
Guys, can someone load up the following url:

http://www.aicore.co.uk/webclient/

and tell me if the page loads ok?

No page for me, just a directory listing.

Also, how long is it taking them load the page: www.aicore.co.uk?

It took a few seconds thinking, then loaded reasonably quickly... though I should add that I've got another computer downloading here, so it won't help that my net connection (which isn't especially fast anyway) is probably running flat out.
 
OK thanks.

The DNS seems to have updated fine then.

I think that perhaps my own ISP has cached the old (slow) website and is loading from it, rather than loading from the new (faster) version.

Thats the only explanation I can come up with.

http://www.aicore.co.uk/webclient/ still loads fine for me.
 
I thought I would post some comments about hybrid/linux/windows hosting.

The customer service rep told me that the hybrid server and windows server should handle aspx pages in an identical way. The only difference is that a hybrid server cannot handle aspx pages without an extension.

I believe this is untrue.

The same app has been loaded onto both directories. The only difference is that one domain is using linux/hybrid, while the other is a pure windows server.

Hybrid server, Linux bias
http://www.aicore.co.uk/webclient/default.aspx

windows
http://webclient.aicore.co.uk/

Notice that on the hybrid server, all the controls are dead.
On the windows server, the controls are working, as intended.

The hybrid server is definitely running the aspx page in a different way to the way the Windows server runs it.

I've been at my computer screen since for the last 14 hours trying to sort this nonsense out, so it hasnt been straight forward, especially when I'm being given information that may not be correct.

In the end, as can be seen above, i set up 2 different domains: 1 running on a windows server (to run the aspx page) and the other running on a linux server (to run the php website).
 
I'm more than willing to bet actual money that what the rep told you is true, but something's misconfigured.

First thing, those buttons are clientside. Server "handling aspx pages in a different way" can't have anything to do with them (directly). Initial suspicion on my part is there's some AJAX going on and the URL you're hitting with the AJAX doesn't have .aspx on the end. Let's take a look...

For a start, use Firebug in Firefox and analyse the "Net" panel for both the domains you linked above. You'll see something immediately. On the one that doesn't work, some files named ScriptResource.axd and WebResource.axd aren't even there. So, without digging any further, I'm guessing the clientside JS/VB needs to talk to these and receive a certain response before it activates the buttons. As it can't, it doesn't.
 
First thing, those buttons are clientside. Server "handling aspx pages in a different way" can't have anything to do with them (directly). Initial suspicion on my part is there's some AJAX going on and the URL you're hitting with the AJAX doesn't have .aspx on the end. Let's take a look...

I am using Ajax controls.

Are you saying that there are some urls, inside my program which do not have the ".aspx" extension on the end? From memory, my code itself doesn't have any urls listed.

In any case, I think the best way for anybody who is running asp pages, would be to set up a (Windows server) sub-domain and then run the asp pages separately in that subdomain. This way, you are guaranteed to have 100% compatibility without any issues of missing .asp or .aspx extensions.
 
Back
Top Bottom