The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Coding efficiency for multiple visitors
jimlongo
post Apr 3 2008, 03:35 PM
Post #1


This is My Life
*******

Group: Members
Posts: 1,128
Joined: 24-August 06
From: t-dot
Member No.: 16



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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Apr 3 2008, 04:01 PM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
jimlongo
post Apr 3 2008, 05:05 PM
Post #3


This is My Life
*******

Group: Members
Posts: 1,128
Joined: 24-August 06
From: t-dot
Member No.: 16



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.

This post has been edited by jimlongo: Apr 3 2008, 05:18 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Apr 3 2008, 05:19 PM
Post #4


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Apr 3 2008, 10:41 PM
Post #5


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,732
Joined: 9-August 06
Member No.: 6



JS error on http://wanlesstennis.com . Dunno if that can contribute to slowness. unsure.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Brian Chandler
post Apr 3 2008, 10:46 PM
Post #6


Jocular coder
********

Group: Members
Posts: 2,460
Joined: 31-August 06
Member No.: 43



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Pieman
post Apr 20 2008, 03:55 AM
Post #7


Member
***

Group: Members
Posts: 43
Joined: 10-February 08
Member No.: 4,927



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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
jimlongo
post Apr 20 2008, 06:28 PM
Post #8


This is My Life
*******

Group: Members
Posts: 1,128
Joined: 24-August 06
From: t-dot
Member No.: 16



A basic license for NEoload is over $1000, no thanks.

Blocking that Swedish search engine seemed to fix things for me.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Apr 20 2008, 10:54 PM
Post #9


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,732
Joined: 9-August 06
Member No.: 6



blush.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
jimlongo
post Apr 21 2008, 05:25 PM
Post #10


This is My Life
*******

Group: Members
Posts: 1,128
Joined: 24-August 06
From: t-dot
Member No.: 16



Don't take it personally, I won't judge an entire nation of people by one bad apple.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 27th April 2024 - 12:22 AM