Changes between Initial Version and Version 1 of FAQs/ModelGlue32ReloadChanges

Show
Ignore:
Timestamp:
09/25/11 14:09:45 (14 years ago)
Author:
DanWilson (IP: 98.26.66.119)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FAQs/ModelGlue32ReloadChanges

    v1 v1  
     1As of version 3.2, Model-Glue will load only the internals necessary to fulfill the current request, in contrast to the LoadItAllNow architecture of previous versions. This technique is called [http://en.wikipedia.org/wiki/Memoization Memoization], an optimization technique used primarily to speed up computer programs by having function calls avoid repeating the calculation of results for previously-processed inputs. Also, Model-Glue will now optionally keep the internal state of your bean factory across reloads, saving you from reloading all of your ColdSpring-managed objects on each request.  
     2 
     3See this article on [[wiki:HowCanISpeedUpReloadTimes How Can I Speed Up Reload Times] for more info. 
     4 
     5==Results== 
     6 
     7A picture is worth a thousand words, so we put together a timing test to show you the differences. The timing tests use progressively more Model-Glue objects, and are designed to show you the reload times at 3 phases of the application. Note: these tests only deal with Model Glue objects like Controllers and Event-Handlers. Real world applications also will incur loading times with Model objects. Since Model objects are largely out of the control of Model-Glue and Model objects vary in design and loading times, we left them out of the tests. Keep in mind, you can maintain your bean factory (and model objects) across requests as we mentioned above. 
     8 
     9==Three Phases of Testing:== 
     10 
     11    Initial Startup: ColdFusion is fully started. The test application is hit for the first time. 
     12    First Reinitialization: The application is reloaded once after being hit for the first time. 
     13    Second Reinitialization: The application is reloaded a second time. 
     14 
     15==Test Steps:== 
     16 
     17    * Start ColdFusion 
     18    * Log into CF admin 
     19    * Browse to index.cfm 
     20    * Note startup time reported 
     21    * Browse to index.cfm using the application reload flag 
     22    * Note startup time reported 
     23    * Browse to index.cfm using the application reload flag 
     24    * Note startup time reported 
     25    * Shut down ColdFusion 
     26 
     27==Performance Result Charts== 
     28===Initial Startup=== 
     29[[Image()]]