PDA

View Full Version : Caching and Performance Issues


oldtimer
01-23-2008, 10:40 PM
Glad to see the GAL product back alive and kicking, thanks Gordon!

I have a couple questions about GAL 6 related to performance issues:

1. I run a forum with over 5 million messages. We'd like to use GAL or something similar but we're concerned about performance issues. In this current version, are the links parse on display or are the links parsed as the posts are added to the database?

2. In your estimation, will it work for a high traffic site like ours? If so, how many keywords do you think it'd be able to support without causing major load issues?

3. How does the caching system work?

I already have an older license so I'm looking for a reason to renew!

Thanks!

Morgan
01-24-2008, 06:26 AM
In short when viewing threads GAL does a couple of queries to fetch the keywords and related information for the auto-links based on a static variable, creates the necessary arrays to hold the information, and does an array based preg_replace per post using a callback function. In all honesty beyond that I cannot answer your other questions, as I haven't run any benchmarks and do not have a big board on which to test.

oldtimer
01-24-2008, 04:23 PM
So it's using the same parsing system as GAL 5?

Morgan
01-24-2008, 09:35 PM
Yes, GAL 5 is the code base from which I started.

Nitro
01-26-2008, 09:47 AM
I think there is a potential of confusion on this, the GAL 5 code base was scrapped (http://www.thevbgeek.com/showthread.php?t=2804&p=18650) due to certain issues and that thegeek was working on producing a new fully recoded superior model that worked with bbcode instead similar to the way the AME product works. This was the upcoming GAL 6 which never showed to take the place of the scrapped GAL 5 that never got to RC, but it is not the GAL 6 you have released.

tom
01-27-2008, 08:36 PM
Nitro, are you saying the released GAL 6 is not based on the GAL 6 that thegeek was nearing completion of? That bbcode version was going to be a performance boon for big boards.

henrikhansen
01-27-2008, 09:30 PM
Maybe this post will give more precise information:
http://www.thevbgeek.com/showthread.php?t=3438

And according to this post, he had almost made a new version of GAL 6, not based on GAL 5 code.
Perhaps Morgan can ask him if he still has the code, he was almost done.
http://www.thevbgeek.com/showpost.php?p=18239&postcount=61

tom
01-29-2008, 05:14 PM
Morgan,

Is the released GAL6 based on the geek's GAL5 or GAL6 code?

Nevermind, I see that you stated it is GAL 5.

Can you get the GAL 6 code from the geek and work on that instead? It was significantly better.

Morgan
01-29-2008, 07:40 PM
Sure, I'll make the inquiry, but no promises about whether I get a copy. Also, if I do get a copy, no promises on when such a release would be made. GAB, GMRT, and GAZ are next up.

tom
05-11-2008, 12:08 AM
Morgan,

Are there plans to revive the bbcode version of GAL that was intended to be GAL 6.0? A few details on it here: http://www.thevbgeek.com/showthread.php?t=3208

Morgan
05-12-2008, 05:14 PM
Inquiry made, no copy received, so at this point no. Not sure about some point later down the road.