| Author |
Topic Search Topic Options
|
CinemaemCena
Groupie
Joined: 05 February 2006
Status: Offline
Points: 46
|
Post Options
Thanks(0)
Quote Reply
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! :)
|
 |
CinemaemCena
Groupie
Joined: 05 February 2006
Status: Offline
Points: 46
|
Post Options
Thanks(0)
Quote Reply
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.
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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
|
|
|
 |
Mikey
Senior Member
1979
Joined: 06 October 2003
Location: United Kingdom
Status: Offline
Points: 839
|
Post Options
Thanks(0)
Quote Reply
Posted: 23 September 2006 at 9:53pm |
|
Lol must be a very intresting topic, have you got a link to it?
|
|
Handyman man?
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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
|
|
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 23 September 2006 at 10:13pm |
|
By the way what on earth do you have in a topic with 23,000 posts?
|
|
|
 |
CinemaemCena
Groupie
Joined: 05 February 2006
Status: Offline
Points: 46
|
Post Options
Thanks(0)
Quote Reply
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
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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  ,.
Edited by -boRg- - 23 September 2006 at 10:28pm
|
|
|
 |