vForums Support > vForums :: Announcements :: > Support Forum Now Running v1.5

Support Forum Now Running v1.5 - Posted By Ross (admin) on 17th Jan 08 at 10:44am
I've just worked out what version number each update should be known by based on the size of the update (increases by 0.1 for big updates or 0.0.1 for smaller add-ons/bug fixes) and am proud to announce that this support forum is now running v1.5 of our software {Cool}

Unfortunately v1.5 does not have any great new features but it does have the basis of a great caching system. The idea of a caching system is to store some generated source code and keep reusing it until it needs to be changed. This cuts down on the number of times the database needs to be queried so should improve performance.

I've set this forum to use the updated source code so that it'll be easier to monitor and adjust this new system in order to give the best possible performance. This should also enable us to find any bugs still in the system nice and early and perhaps identify other areas in need of some optimization.

The areas that are running the new system to various degrees include mini-profiles, the last post column on the main page and topic replies. The data shown in the footer of every page should give you some indication to how well the system is working.

If you continue to get high numbers of database queries on any page then please let me know so I can look at improving that page. Also let me know if any pages are giving peak memory usage of over 1500Kb, current memory usage of over 1000Kb or a loading time of over 1 second. Not all pages which give these will be rectifiable but I will do my best to give the best possible performance so that you can use the fastest possible forums.

- Ross

Re: Support Forum Now Running v1.5 - Posted By Graham (amusedtodeath) on 17th Jan 08 at 1:07pm
It's all looking good so far, not really getting close to the max useage {Cheesy}

Though there's no new features it's still a good update, and gives better running times {Smile}

Re: Support Forum Now Running v1.5 - Posted By ashkir (ashkir) on 17th Jan 08 at 1:12pm
Whee!

Wait I actually joined something before version two? o_o

Re: Support Forum Now Running v1.5 - Posted By Michael (wrighty) on 17th Jan 08 at 4:34pm
847 = peak
684 = current
31 = queries
5 = cache
0.517 = seconds

Weee any more info people want to know? {Tongue Out}

Smiley it Ross

Re: Support Forum Now Running v1.5 - Posted By ashkir (ashkir) on 17th Jan 08 at 5:31pm
All my pages refresh with 0.000 load o_O. Then again I get roughly 27,000 kilibytes per second.

For viewing this thread:

This page was generated with 30 database queries and 7 cache files in 0.0001 seconds.
Peak Memory Usage: 848Kb :: Current Memory Usage: 688Kb

Re: Support Forum Now Running v1.5 - Posted By Marc (cr0w) on 17th Jan 08 at 6:32pm
On my 10 year old school computer it runs as follows:

This page was generated with 32 database queries and 7 cache files in 0.2802 seconds.
Peak Memory Usage: 858Kb :: Current Memory Usage: 694Kb


Sexy work, Ross. {Smile} Smiley

Re: Support Forum Now Running v1.5 - Posted By Munzz (Munzz) on 17th Jan 08 at 9:09pm
Very speedy Ross, great work mate {Smile}

This page was generated with 32 database queries and 7 cache files in 0.7933 seconds.
Peak Memory Usage: 869Kb :: Current Memory Usage: 696Kb

Re: Support Forum Now Running v1.5 - Posted By Remixed (prosaxplayer) on 19th Jan 08 at 4:02am
This page was generated with 29 database queries and 8 cache files in 1.107 seconds.
Peak Memory Usage: 888Kb :: Current Memory Usage: 705Kb

{Smile}

Re: Support Forum Now Running v1.5 - Posted By Dranew (Dranew) on 19th Jan 08 at 4:42am
This page was generated with 29 database queries and 10 cache files in 0.2942 seconds.
Peak Memory Usage: 903Kb :: Current Memory Usage: 711Kb

Really nice {Smile}

Re: Support Forum Now Running v1.5 - Posted By Nick (nickb) on 19th Jan 08 at 10:33pm
it seems a bit faster, im on my new psp so the thread parts are showing a bit different then the pc view. But I like this psp. It is the old psp. ^_^ {Grin}

Re: Support Forum Now Running v1.5 - Posted By Dylan (dylan) on 19th Jan 08 at 10:36pm
This page was generated with 32 database queries and 12 cache files in 0.5782 seconds.
Peak Memory Usage: 943Kb :: Current Memory Usage: 726Kb

Re: Support Forum Now Running v1.5 - Posted By Marc (cr0w) on 20th Jan 08 at 12:54am
Wow Ross, looking nice. {Smile} The queries seem to hover around 30 queries. {Smile}

Re: Support Forum Now Running v1.5 - Posted By CåñåÐå™ (canada) on 20th Jan 08 at 12:17pm
This page was generated with 32 database queries and 14 cache files in 0.2163 seconds.
Peak Memory Usage: 987Kb :: Current Memory Usage: 736Kb

Re: Support Forum Now Running v1.5 - Posted By Chris (cddude229) on 20th Jan 08 at 6:22pm
This page was generated with 34 database queries and 14 cache files in 0.4018 seconds.
Peak Memory Usage: 1014Kb :: Current Memory Usage: 754Kb

Come on Ross. I know you can use less queries. {Wink} Link them or something. {Tongue Out} It'd help a lot. Especially the 81 on the main page.

Re: Support Forum Now Running v1.5 - Posted By Ross (admin) on 20th Jan 08 at 9:00pm
 
This page was generated with 34 database queries and 14 cache files in 0.4018 seconds.
Peak Memory Usage: 1014Kb :: Current Memory Usage: 754Kb

Come on Ross. I know you can use less queries. {Wink} Link them or something. {Tongue Out} It'd help a lot. Especially the 81 on the main page.


The main page hasn't been properly optimised yet, especially not the board access queries. I'll be doing them some time next week (if I'm feeling better) which should cut a bit off of there. The biggest abuser of queries on the main page is on forums with lots of different users moderating/having the last post but nothing can be done about that without greatly increasing the memory usage. And unfortunately there's about 18 queries which make up the core of the system and which can't be cut down without either losing features or increasing the loading times on other pages.

Re: Support Forum Now Running v1.5 - Posted By Nick (nickb) on 21st Jan 08 at 10:08pm
Since I am on my computer now, this is what it shows.

Main Page:
This page was generated with 79 database queries and 0 cache files in 1.6894 seconds.
Peak Memory Usage: 907Kb :: Current Memory Usage: 745Kb

This Page:
this page was generated with 37 database queries and 16 cache files in 0.436 seconds.
Peak Memory Usage: 1073Kb :: Current Memory Usage: 773Kb


Re: Support Forum Now Running v1.5 - Posted By Ross (admin) on 21st Jan 08 at 10:29pm
The main page has now been optimised and is using (on average) 35-40 less queries. I've not yet uploaded those changes to this server though.

Re: Support Forum Now Running v1.5 - Posted By Chris (cddude229) on 22nd Jan 08 at 12:52am
Well, can't you store a copy of the settings? That would surely save (a bit) of time. (Well, depending how it's set up.) Also, maybe only check for PM updates ever 5 seconds or something? A user doesn't need to know right away. There's a few different techniques that can be done. Those are just a few suggestions.

Re: Support Forum Now Running v1.5 - Posted By Ross (admin) on 22nd Jan 08 at 9:46am
 
Well, can't you store a copy of the settings? That would surely save (a bit) of time. (Well, depending how it's set up.) Also, maybe only check for PM updates ever 5 seconds or something? A user doesn't need to know right away. There's a few different techniques that can be done. Those are just a few suggestions.


I've removed 2 queries from the main setup. The ban list is now only updated once every 15 minutes and the users online is only updated when the info center displays.

Saving the settings info in a cache file would use more memory that it'd save since it is updated so often. However as I type this I've thought of another way to cut 1 more query off of the main page and another 2 off of the info center.

Re: Support Forum Now Running v1.5 - Posted By Chris (cddude229) on 22nd Jan 08 at 8:54pm
 
 
Well, can't you store a copy of the settings? That would surely save (a bit) of time. (Well, depending how it's set up.) Also, maybe only check for PM updates ever 5 seconds or something? A user doesn't need to know right away. There's a few different techniques that can be done. Those are just a few suggestions.


I've removed 2 queries from the main setup. The ban list is now only updated once every 15 minutes and the users online is only updated when the info center displays.

Saving the settings info in a cache file would use more memory that it'd save since it is updated so often. However as I type this I've thought of another way to cut 1 more query off of the main page and another 2 off of the info center.


See? I can be helpful. {Grin} {Tongue Out} As I said, I don't know the layout of your system, so I can't really give suggestions.

Re: Support Forum Now Running v1.5 - Posted By Ross (admin) on 23rd Jan 08 at 11:02pm
This forum is now running on the latest version of the source code. All areas that I was aware of using a large number of resources have now been fixed. I will leave this version just on here for a couple of days to ensure the caching of birthdays and events are working and so long as no other bugs are found all forums should be upgraded on friday {Smile}

Re: Support Forum Now Running v1.5 - Posted By (¯`•Stormraven•._) (Stormraven) on 26th Jan 08 at 6:26pm
Ross, seriously, is there anything you can't do? {Tongue Out}

Re: Support Forum Now Running v1.5 - Posted By Marc (cr0w) on 26th Jan 08 at 6:38pm
 
Ross, seriously, is there anything you can't do? {Tongue Out}


Fly? {Tongue Out}

*Sees Ross float past bedroom window*

Re: Support Forum Now Running v1.5 - Posted By (¯`•Stormraven•._) (Stormraven) on 26th Jan 08 at 6:43pm
Ross has been in your room {Shocked} . Didn't know he was that sort of person {Cheesy}

Re: Support Forum Now Running v1.5 - Posted By Marc (cr0w) on 26th Jan 08 at 6:46pm
 
Ross has been in your room {Shocked} . Didn't know he was that sort of person {Cheesy}


Shh. {Embarassed} {Tongue Out}