Announcement: Be excellent to each other.


Caravel Forum : Caravel Boards : The Site : Forum optimizations (Faster == gooder)
New Topic New Poll Post Reply
Poster Message
Schik
Level: Legendary Smitemaster
Avatar
Rank Points: 5383
Registered: 02-04-2003
IP: Logged
icon Forum optimizations (+1)  
I spent a fair amount of time last night optimizing the forum. All I worked on so far is reducing the number of SQL queries happening per page view, and so far only for the big three - viewing the forum index, topic index, and an individual topic. I cut the number of queries by at least 75% in each of these three cases, and even more than that for two of them.

So... let me know if the forum seems faster, but more importantly, let me know if that screwed anything up. It really shouldn't have - I mostly got rid of redundancy by caching the results of some queries that were repeated.

____________________________
The greatness of a nation and its moral progress can be judged by the way it treats its animals.
--Mahatma Gandhi
03-26-2004 at 01:55 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
The_Red_Hawk
Level: Smitemaster
Rank Points: 783
Registered: 09-02-2003
IP: Logged
icon Re: Forum optimizations (0)  
This might be trivial, but on my computer, the blue background disappeared for a while this morning.

____________________________
Slashing, whirling, diving, twirling,
Snapping, turning, rising, swirling,
Screeching, flipping, gliding, sliding,
The red hawk's dance of death.

.....the king of the skies.....
03-26-2004 at 02:21 PM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
Nillo
Level: Smitemaster
Avatar
Rank Points: 548
Registered: 01-04-2004
IP: Logged
icon Re: Forum optimizations (0)  
I think there's no such word as "gooder".
But still, this is very much faster, Schik! Thanks for everything you've done for the forums so far!
Here, have a pepsi and a pizza. :pepsi :pizza

____________________________
“Folks say that if you listen real close at the height of the full moon, when the wind is blowin' off Nantucket Sound from the nor' east and the dogs are howlin' for no earthly reason, you can hear the awful screams of the crew of the 'Ellie May,' a sturdy whaler Captained by John McTavish; for it was on just such a night when the rum was flowin' and, Davey Jones be damned, big John brought his men on deck for the first of several screaming contests.”
03-26-2004 at 02:35 PM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
Schik
Level: Legendary Smitemaster
Avatar
Rank Points: 5383
Registered: 02-04-2003
IP: Logged
icon Re: Forum optimizations (0)  
The_Red_Hawk wrote:
This might be trivial, but on my computer, the blue background disappeared for a while this morning.
I'm going to guess that you happened to be here right while I was uploading files. If it happens more, let me know - this shouldn't happen.

____________________________
The greatness of a nation and its moral progress can be judged by the way it treats its animals.
--Mahatma Gandhi
03-26-2004 at 07:45 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
New Topic New Poll Post Reply
Caravel Forum : Caravel Boards : The Site : Forum optimizations (Faster == gooder)
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.