Help - Search - Members - Calendar
Full Version: Coding efficiency for multiple visitors
HTMLHelp Forums > Programming > Web Server Configuration
jimlongo
Hi,
I've been having a problem with one of my domains on a shared server. I've got an ongoing dialog with support about it.

Problem is it has been very slow lately, irregularly. Of course whenever they check it it's fine. Their last email said . . . "If you are experiencing issues with loading your site when you have multiple visitors on the site at once, You may want to investigate the coding of your website for efficiency."

My immediate response is that statement is B.S., but before I go any further I thought I'd ask some opinions around here.

The site is http://wanlesstennis.com, or try http://www.wanlesstennis.com/forum/index.php

If there is some merit to that statement, what steps could you suggest I take?

Thanks,
jim
Darin McGrew
CODE
background: white url(none);
is not the same as
CODE
background: white;
or
CODE
background: white none;
and http://wanlesstennis.com/none returns 403 Access Forbidden.

Other than that, I didn't notice any obvious problems.
jimlongo
Thanks Darin,
I've google around and can't find any explanation of /none. I have seen references to it in my webstats, but don't understand what it is.
What's the significance of that url?

Thanks, jim

BTW it was a mistake in my .htaccess file that made it return the custom 403 page instead of the 404 page it should, that's been fixed.
Darin McGrew
There is no significance to url(none). It means the same thing as url(this) or url(that) or url(the-other-thing). It's just a relative URL.

There is significance to none, which is a keyword that indicates that there is no background image.

CODE
background: white;
and
CODE
background: white none;
are equivalent to each other.

CODE
background: white url(none);
is different, and refers to a background image with the relative URL none.
pandy
JS error on http://wanlesstennis.com . Dunno if that can contribute to slowness. unsure.gif
Brian Chandler
QUOTE(jimlongo @ Apr 4 2008, 05:35 AM) *

Hi,
I've been having a problem with one of my domains on a shared server. I've got an ongoing dialog with support about it.

Problem is it has been very slow lately, irregularly. Of course whenever they check it it's fine. Their last email said . . . "If you are experiencing issues with loading your site when you have multiple visitors on the site at once, You may want to investigate the coding of your website for efficiency."

My immediate response is that statement is B.S., but before I go any further I thought I'd ask some opinions around here.

The site is http://wanlesstennis.com, or try http://www.wanlesstennis.com/forum/index.php

If there is some merit to that statement, what steps could you suggest I take?


Well, if you were just feeding plain html pages with Apache, none of the "coding" could possibly have any effect (and it would be BS), but if you are running a DB-backed program like a forum, then indeed if the program is badly written it could be taking lots of processing time. Unless you wrote it yourself, though "checking the coding" isn't a very well-defined task. It's also possible for the program to be badly designed in some way so that one instance runs fast enough, but two simultaneous accesses make a big delay, because the first one locks everything up until it's finished. (This is just hypothetical though.) You should be able to add some diagnostics, like recording the execution time somewhere.
Pieman
Sorry for the late response, but Neoload is a program that tests how your web pages behave under stress and lets you see which pages load slowly under increased traffic. May be useful for you to determine what page is causing the trouble.

Also, have you thought about the possibility of someone (d)dosing you?
jimlongo
A basic license for NEoload is over $1000, no thanks.

Blocking that Swedish search engine seemed to fix things for me.
pandy
blush.gif
jimlongo
Don't take it personally, I won't judge an entire nation of people by one bad apple.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.