Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Strange Errors
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Strange Errors

 Post Reply Post Reply Page  <123>
Author
CinemaemCena View Drop Down
Groupie
Groupie


Joined: 05 February 2006
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote CinemaemCena Quote  Post ReplyReply Direct Link To This Post Posted: 23 September 2006 at 11:36am

Ok. :)

But the topic I mentioned has 23,844 posts, which is a considerable difference. But if you say that's not a problem, great! :)
Back to Top
CinemaemCena View Drop Down
Groupie
Groupie


Joined: 05 February 2006
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote CinemaemCena Quote  Post ReplyReply Direct Link To This Post Posted: 23 September 2006 at 9:28pm
Well... just as a test, I closed that huge topic.
 
Guess what? The forum came back to normal. Everything is working just fine.
 
But still, if I try to enter the huge topic, the answer is very slow - it takes up to 60 seconds to load a single page within the topic.
 
So... I guess it IS a problem in the new version of the forum, since it worked just fine in the old one.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 23 September 2006 at 9:47pm
Version 8 will perform much faster than version 7, but it was never designed for a topic with 23,000 posts in it.

I wouldn't have even imagined that anyone would have had a topic with 23,000 posts in it, in a forum yes, but not in a single topic.

Version 8 has had many weeks spent optimising each SQL Query to get the maximum speed out of it for what it is used for, so forums are optimised to handle hundreds of thousands of posts, even millions, but the topics have only been optimised to handle upto hundreds of posts, as I have never herd of a topic with over a thousand posts, let alone 23,000

The forum could be optimised to handle 1000's of posts in topics, but this would be at a cost to slower performance on normal topics with upto 50 posts.


Edited by -boRg- - 23 September 2006 at 9:49pm
Back to Top
Mikey View Drop Down
Senior Member
Senior Member

1979

Joined: 06 October 2003
Location: United Kingdom
Status: Offline
Points: 839
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mikey Quote  Post ReplyReply Direct Link To This Post Posted: 23 September 2006 at 9:53pm
Lol must be a very intresting topic, have you got a link to it?
Handyman man?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 23 September 2006 at 10:13pm
It maybe best if I explain how the optimisation works on the page displaying posts in version 8 compared to version 7.

In version 7 a couple of less complex SQL Queries were run on the database, then as each post is displayed 2 or 3 other queries were run to get additional data.

This means that for a topic with say 50 posts over 102+ database queries are run which eats up allot of server resources. Not very good as you would imagine.

In version 8 database hits are kept to a minimum, so for extra performance only 2 database queries are run for the page displaying the posts for the topic using more complex table joins to get all the required data and feeding it into an array.

As you can imagine 2 database hits for a topic no matter the number of posts is much better than over 100 for a 50 post topic and thus the page loads faster under normal circumstances, even if there are only 1 or 2 posts in the topic.

This is great till you get to a topic with 23,000 posts, table joins do place a bit more strain on the DBMS when you get to this type of level, as the DBMS needs to build up a table of the joined records, which is fine on normal topics, but having to build a table that uses complex joins for 23,000 records can place a tremendous strain on the database, thus getting the problems you mention.


Edited by -boRg- - 23 September 2006 at 10:16pm
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 23 September 2006 at 10:13pm
By the way what on earth do you have in a topic with 23,000 posts?
Back to Top
CinemaemCena View Drop Down
Groupie
Groupie


Joined: 05 February 2006
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote CinemaemCena Quote  Post ReplyReply Direct Link To This Post Posted: 23 September 2006 at 10:17pm
It was an idea that one of our users suggested to control flood in the forum. We created a single topic within the whole forum in which the flood was permitted.
 
It worked. All the other topics were finally rid of flood.
 
The one in which it was permitted, though... :)
 


Edited by CinemaemCena - 23 September 2006 at 10:18pm
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 23 September 2006 at 10:26pm
Maybe a suggestion is I'm afraid to delete this massive topic.

Then instead have your flood control topic, but every month lock it and start a new one.  This should keep the topic size down and keep the performance up of your forum.

Another option is to make a flood control forum in which anyone can post whatever they like.

I know this is a work around, but to keep performance up under normal circumstances this is the only suggestion I can think of, unless you want the expense of moving to a very powerful dedicated server.

If you do this I think you will be impressed at the speed improvements over version 7, as long as topics are at a reasable size Wink,.


Edited by -boRg- - 23 September 2006 at 10:28pm
Back to Top
 Post Reply Post Reply Page  <123>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.