• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 15. CFML Coding: Best Practices > Coding for Performance

Coding for Performance

Performance considerations should always be on the mind of any quality developer. ColdFusion application performance often is rooted in the application code itself. In instances where code is written improperly or when necessary code elements are not included at all, performance and functionality can suffer dramatically. The following sections discuss issues that are key to improving performance in your applications.

Locking of Server, Application, and Session Variables

A commonly missed item dealing with application performance is the locking of shared scope variables. These variables should be locked in any code where server, application, or session-scoped variables are either written to or read from. Appropriate locking of server, application, and session variables must be applied or you risk degrading application performance and crashing your server.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint