Author |
Message |
11/02/2005 20:56:04
|
gsso
Newbie
Joined: 11/02/2005 20:34:38
Messages: 2
Offline
|
My guestbook became slow after I had a surge in comment on my site. I tried to isolate this problem to ensure its from the comments. I deleted all my comments and the guestbook became very fast.
After i put back the deleted comments, now it has slowed down again.
Is there a fix for this? I have search all this forum and I can't find a solution.
basically, large number of comments slows down the guestbook! how do i fix this
|
|
11/02/2005 21:02:14
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
We are talking about comments and not posts yes?
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
11/02/2005 21:10:53
|
ET
Graduate
Joined: 21/02/2003 22:17:48
Messages: 179
Offline
|
My thinks are the same as Carbonize in that you are talking about the comments added to the guestbook entries, as opposed to the actual number of guestbook entries (posts) - how many guestbook entries do you have per page? (Maximum Records Displayed Per Page ) is it more than 20?
|
--------------- |
|
12/02/2005 03:46:41
|
Anonymous
|
Yes, the problem is from the comments (replys to guestbook posts).
I noticed when you have lots of comments it slows the guestbook down.
When i purged the comments, the guestbook became fast. When i added the comments back again, it slowed down.
I did have 20 per page and now i changed to 10. still having the same problem
GSSO
|
|
12/02/2005 05:43:37
|
ET
Graduate
Joined: 21/02/2003 22:17:48
Messages: 179
Offline
|
Anonymous wrote:Yes, the problem is from the comments (replys to guestbook posts).
I noticed when you have lots of comments it slows the guestbook down.
When i purged the comments, the guestbook became fast. When i added the comments back again, it slowed down.
I did have 20 per page and now i changed to 10. still having the same problem
GSSO
Oh - okay - that is probably something that should be looked into. How many comments do you have and at what point (number) did you notice that it was slogging everything down? Carbonize has been working on a rewrite of the script.
|
--------------- |
|
12/02/2005 12:09:20
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Yes I'm already looking into the particular MySQL call used to fetch the entries. It fetches the entries, pics and comments at the same time and e think this is where the problem lies. I will either rewrite it or get Freddy to as he knows MySQL better than me.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
12/02/2005 16:16:31
|
gsso
Newbie
Joined: 11/02/2005 20:34:38
Messages: 2
Offline
|
I have 1200 guestbook entries and about 3500 comments.
I noticed it slowing down after about 3000 comments or so.
Thanks all for trying to help. Meanwhile excellent guestbook program. And Carbonize, please check your mail. I sent some more info
Thanks
|
|
28/02/2005 18:54:17
|
Anonymous
|
any solution to this problem?
|
|
28/02/2005 19:03:54
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Freddy thinks it is down to the join command used when retreiving entries. We are looking at ways of redoing it that are faster but don't use to many SQL queries and it's not easy. The guestbook wasn't meant to have that many comments per post. Should turn off comments and make them use your forum really. Hopefully we will eventually have a fix.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
02/05/2005 20:41:52
|
Anonymous
|
just curious, was this fixed in the new version 2.3.2
|
|
02/05/2005 20:51:21
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
No but I have pretty much finished the Lazarus Guestbook now so I may take a look at an idea I just had.
As I said above though the guestbook was made to have one or two comments per post at most. If you want loads of replies to posts you really should use a forum such as phpBB or Phorum.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
08/05/2005 01:31:24
|
Anonymous
|
thanks
|
|
|