Changes between Initial Version and Version 1 of FAQs/HowCanISpeedUpReloadTimes

Show
Ignore:
Timestamp:
09/25/11 14:01:24 (14 years ago)
Author:
anonymous (IP: 98.26.66.119)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FAQs/HowCanISpeedUpReloadTimes

    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 
     3Unless we change an element in the bean factory, it can be wasteful to reload it on each request. You can keep the bean factory loaded for as long as you want, and reload it as you wish by the URL reloadKey=reloadPassword command. To use this new functionality you need to add the following property definition to your application specific modelglue.modelGlueConfiguration bean in your ColdSpring.xml file:  
     4 
     5{{{ 
     6<property name="reloadBeanFactory"><value>false</value></property> 
     7}}} 
     8 
     9For more information and pretty charts take a look at: [http://en.wikipedia.org/wiki/Memoization ModelGlue32ReloadChanges]