Development news on version 0.2
Posted July 6th, 2006 at 23:12 by Ueland.
Filed under Development updates.
The work on version 0.1.1 is going strong these days, and version 0.1.1 will contain fixes for the bugs we have been informed about and a finished ACP with most of the necessary features in place, and (most likely) working smooth.
But the work on upgrades to the core modules in version 0.2.0 has also partially started. During the development of the 0.1.x series, we have noted a few performance issues that could be a problem with high traffic boards, and this is something that we will fix in version 0.2.0. Some of the fixes are:
- Moved the SQL queries in the SQL driver file to keep the filesize down, since larger files takes longer time to parse.
- The template system will support if/else functionality, which again gives us the ability to put more content within a template. ( = less templates and less queries)
- The template system will cache the content to html/php content, this means that the templates are not processed by the php engine on each page view, but only once, in version 0.1.x this is done on each page view (through eval).
- User information put in sessions, and updated 2-3 times a minute at a maximum
- Object caching is added, this means that we only parse some of the content once in a while, instead of on each page view.
All those small changes (so far) makes for example the frontpage incredibly much faster. The frontpage on our forum today is generated on around 0.030 seconds, with the help of 2 SQL queries. when its fully cached. The frontpage on the 0.2.0 version so far is generated on around 0.009 seconds (yup, 9 ms) and with the help of none ( zero) queries. In other words, somewhat upgraded performance.