Home | Community | Message Board


Shroom Supply
Please support our sponsors.

Feedback and Administration >> Website Announcements and Feature Feedback

Welcome to the Shroomery Message Board! You are experiencing a small sample of what the site has to offer. Please login or register to post messages and view our exclusive members-only content. You'll gain access to additional forums, file attachments, board customizations, encrypted private messages, and much more!

Jump to first unread post. Pages: 1
OfflineFreakShow
3n+hu$|@$+
Registered: 11/14/01
Posts: 439
Last seen: 13 years, 11 months
Slow Forums
    #465259 - 11/21/01 03:56 AM (15 years, 17 days ago)

The forums seem to load especially slow when I'm logged in. Especially the main forum page. Sometimes it will take approx. a min to load the page. What's going on?
When I log out, the page loads in 2-3 seconds.


Post Extras: Print Post  Remind Me! Notify Moderator
Offline3DSHROOM
loon
Male

Registered: 04/20/99
Posts: 2,878
Last seen: 3 years, 9 months
Re: Slow Forums [Re: FreakShow]
    #465407 - 11/21/01 10:24 AM (15 years, 16 days ago)

When you are logged in it makes many queries to see if there are new posts in each forum since your last visit.


--------------------
Your friendly neighborhood loon


Post Extras: Print Post  Remind Me! Notify Moderator
OfflineTranceTrippinXTC
THC Mushroom

Registered: 03/03/02
Posts: 185
Loc: Midwest
Last seen: 6 years, 20 days
Re: Slow Forums [Re: 3DSHROOM]
    #569160 - 03/04/02 02:04 AM (14 years, 9 months ago)

I've been hanging around the forums for a couple weeks now and just yesterday signed up. I've noticed that the forums, whether loading a post, or an index, logged in or not load really, really slow. The rest of the website loads at 50 KB/s When accessing any page in the forums it takes about 10 seconds before anything transmits, then only transmits at under 1 KB/s.

I was interested to find out where the server was located, did a WHOIS and saw the domain was registered in Calgary, Alberta, Canada by CIHOST. Then I did a tracert and saw the server is located in Bedford, TX. Not too far away from me, only 21 hops.

Anyway I'm sure it's not a bandwidth issue, maybe slow server or ineffcient code. I hate to bitch, I almost backed out of this post. But I noticed that it was slow whether I was logged in or not so I wanted to know what the problem is.

Either way, I will be using the forums every day. I can't thank you people enough and can only say keep up the good work.

BTW, once I find a new job I want to make a large donation. But for now I can only make a $25 donation when I get next week's unemployment check! It's cool you have it setup to make donations by Paypal. Cuz I'd be to lazy to write a check!


Post Extras: Print Post  Remind Me! Notify Moderator
Offline3DSHROOM
loon
Male

Registered: 04/20/99
Posts: 2,878
Last seen: 3 years, 9 months
Re: Slow Forums [Re: TranceTrippinXTC]
    #569351 - 03/04/02 08:38 AM (14 years, 8 months ago)

The bottleneck is in the server hardware, it just can't handle the load. This is why we are having a raffle to buy a new server.


--------------------
Your friendly neighborhood loon


Post Extras: Print Post  Remind Me! Notify Moderator
OfflineTranceTrippinXTC
THC Mushroom

Registered: 03/03/02
Posts: 185
Loc: Midwest
Last seen: 6 years, 20 days
Re: Slow Forums [Re: 3DSHROOM]
    #569575 - 03/04/02 02:01 PM (14 years, 8 months ago)

Is the raffle still going? Cool, I'll buy some tickets and send a donation!


Post Extras: Print Post  Remind Me! Notify Moderator
InvisibleThorA
Anti-Theist OVERLORD
Male User Gallery

Registered: 08/12/98
Posts: 9,875
Loc: Calgary, Canada
Re: Slow Forums [Re: TranceTrippinXTC]
    #569655 - 03/04/02 03:43 PM (14 years, 8 months ago)



Post Extras: Print Post  Remind Me! Notify Moderator
Invisibledjfrog
omgws!!!1!

Registered: 10/23/00
Posts: 3,710
Re: Slow Forums [Re: Thor]
    #570008 - 03/04/02 11:56 PM (14 years, 8 months ago)



Post Extras: Print Post  Remind Me! Notify Moderator
OfflineTranceTrippinXTC
THC Mushroom

Registered: 03/03/02
Posts: 185
Loc: Midwest
Last seen: 6 years, 20 days
Re: Slow Forums [Re: djfrog]
    #571207 - 03/06/02 05:00 AM (14 years, 8 months ago)

djfrog,

I read through that thread and I've come to think it's a little bit of both--inadequate hardware and inefficient code. But I would have to say that I like the script generated pages and I would agree with 3DShroom that the new server will help to load the generated pages about as fast as any other page. [What kind of box is it running on now though?] True, straight html would load faster, but I think the features of the scripted webpages outweigh the added extra speed of static pages.

Just my thoughts. Thx for posting that thread though. Was informative.


Post Extras: Print Post  Remind Me! Notify Moderator
Invisibledjfrog
omgws!!!1!

Registered: 10/23/00
Posts: 3,710
Re: Slow Forums [Re: TranceTrippinXTC]
    #572206 - 03/07/02 04:13 AM (14 years, 8 months ago)

ok, as a little experiment.

The next time you are on during peak hours, log in go to the forums and measure how long it takes to generate that page. Then, log out and revisit the page. When you aren't logged in, it doesn't do nearly as much database access even though it is script generated. The difference is huge isn't it? If you have a fast connection you will see the difference most clearly.

However, I'm not just advocating this so that the forum list will load faster. Because of the architecture of the system, all the other script-generated pages would load faster.

Servers are multi-threaded to handle a large number of users simultaneously. Multi-threading allows big performance gains by allowing other threads to use the CPU when the active thread has to wait on a slow commands like a harddrive read or cache miss. However when multiple threads need to hit the same database table, they can only proceed one at a time to maintain that database's coherency. The faster harddrive will help decrease the time holding a lock per-thread, but removing the need to lock the database will prevent the lock altogether. Look at the harddrive specs its a 10x increase at the most. If you did the above experiment you'd realize the difference is orders of magnitudes greater than that 10x improvement.
Think of the separate threads as like lanes on a highway. Think of the database locks as exits from that highway. Increasing the processor speed is like adding more lanes, increasing the harddrive/memory speed is like increasing the efficiency of the exits.
The forum listing script is a drunk driver, crashing in from one exit, crossing every lane on the highway, and immediately exiting the next exit only to come back and do it again. Oh and there are a bunch of drunk drivers doing this. You think traffic is going to move?

I'm not saying we should do away with the scripted pages. They certainly help with listing the messages in a forum. I'm not saying a faster server wouldn't be nice either. I'm just saying the one script that is hitting every database is costing a lot for not much gain.

heh, ok, its late and I want to gripe and I apologize for that. But anyhow, if anyone is wondering why I'm not buying raffle tickets, the secret is out.


Post Extras: Print Post  Remind Me! Notify Moderator
Jump to top. Pages: 1

Feedback and Administration >> Website Announcements and Feature Feedback

Similar ThreadsPosterViewsRepliesLast post
* Cultivation hardware forum paddo 1,507 16 09/01/02 01:40 PM
by Anno
* Temporary Server Issues...
( 1 2 all )
PapaverS 5,087 38 12/12/03 02:33 PM
by MycoFactory
* What server!?! pleezr 1,482 7 08/06/02 10:35 AM
by pleezr
* Spell Check Warning daimyo 847 11 04/18/06 12:59 PM
by daimyo
* Shroomery Server Upgrades - Report Bugs Here! **Updated 9/8**
( 1 2 all )
YthanA 5,556 39 09/11/05 01:28 AM
by Vampire999
* SQL Error and invalid response upstream server Opera 708 2 10/23/04 12:58 AM
by Opera
* Images copy script crashes Opera
Colonel Kurtz Ph.D
1,798 7 05/27/07 03:07 PM
by Colonel Kurtz Ph.D
* new forum request
( 1 2 3 4 all )
KingOftheThing 4,020 71 10/07/04 02:46 PM
by geokills

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: Ythan, Thor, Seuss, geokills
1,483 topic views. 0 members, 0 guests and 0 web crawlers are browsing this forum.
[ Toggle Favorite | Print Topic | Stats ]
Search this thread:
Mycohaus
Please support our sponsors.

Copyright 1997-2016 Mind Media. Some rights reserved.

Generated in 0.049 seconds spending 0.003 seconds on 14 queries.