| Version 1 (modified by cfgrok, 16 years ago) |
|---|
Why Is My Model-Glue Application Slow?
Model-Glue, in and of itself, is really really fast. The latest version, Model-Glue 3, is the fastest yet and will help you build powerful, performant applications in record time. If you are experiencing slowness with your Model-Glue application, here are some things you can do to fix it:
1) Turn Off the Report Execution Times setting in your ColdFusion Administrator Debugging Section
Report Execution Times is bloody murder on ANY CFC-based application. Not only does it slow all execution to a crawl, but the times reported are flat out wrong by orders of magnitude. There is never a reason to have this setting enabled when running any CFC-based application. Period.
(This is an old issue. Dave Carabetta has a good post here: http://www.cbetta.com/blog/index.cfm/2006/2/13/CFCs-and-Performance-with-Report-Execution-Times-Turned-On )
2) Turn Off Memory Tracking
If you are using the Server Monitor, turn off Memory Tracking. Memory Tracking will also slow a CFC based application to a crawl. You won't get any useful information, so turn it off.
3) Set Reload=False
If you are in a production situation, check to see the Reload property in your application-specific ColdSpring.xml is set to false. This is a commonly overlooked task when deploying an application to production.
4) Turn Model-Glue Debugging Off
If you are in a production situation, check to see the Debug property in your application-specific ColdSpring.xml is set to false. Model-Glue Debug writes a lot of content to the browser so if you don't need it, disable it. This is another commonly overlooked task when deploying an application to production.
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)