Source Control ColdFusion Help

If you have a network version of Microsoft Source Safe installed on the same server as your ColdFusion server, then you can use ColdFusion Studio to access SourceSafe through the ColdFusion server. This is configured through the Source Control screen.
Here you need to provide the complete path of the directory containing the Safe.;  file as well as a working directory where files being edited are kept.

Performance Tuning

Web application environments such as ColdFusion, which are used to deploy dynamic pages to the Web, generally demand far more of your hardware than simply serving up static HTML pages and GlF files. Therefore, it is essential to maintain a strong program of performance monitoring and to be aware of options to scale ColdFusion as performance concerns demand.

Performance Monitoring

As the load on your ColdFusion server grows, monitoring its performance is important so that you can pinpoint bottlenecks and other potential sources of slowness before they become critical issues. To understand how resources on your system are being used, you need to do a couple of things:

• Analyze your log files
• Use the Windows NT Performance Monitor

Analyzing Your Log Files .

The first step in determining possible s<?source performance problems is to track certain types of errors being generated by the ColdFusion server. These errors are written to the App l cat; on.l  file that can be accessed through the Logging section of the ColdFusion Administrator, as discussed earlier in this chapter.
. . Specifically, Request Timed Out messages may signal different types of performance problems. If the same document (or documents) is consistently generating this error in the log, it is highly suggestive that it may be the culprit in any performance problems on the server. If templates take a long time to execute and still don’t finish, then it is likely that some aspect of the code (a query to a problematic database or an endless loop, for example),
is causing the template to use excessive system resources. At the same time, if you see Request Timed Out messages regularly being generated

Using the Windows NT Performance Monitor

The Windows NT Perform Monitor is ” tool for graphically displaying a wide range of information about system resources that determine the overall performance of a Windows NT system. Although we won’t provide the details of using the Performance Monitor (refer to your Windows NT documentation for this), we will discuss the ColdFusion-related infer mation that can be tracked with the Performance Monitor. ColdFusion 4.5 provides a ColdFusion object for use with & Windows NT Performance Monitor. This object provides the following counters, which can be displayed and tracked:

Avg DB Time cumulative average of time in milliseconds taken for individual ColdFusion-initiated database operations to finish executing .
Avg Queue Time The cumulative average of the time in milliseconds that requests spend waiting in the queue
Avg Request Time The cumulative average of the time in milliseconds that it took for requests to finish executing
Bytes In/See The number of bytes received each second by the server
Bytes Out/See The number of bytes pushed out each second by the server DB Hits/See The number of database operations performed each second by the server Page Hits/See The number of pages processed each second by the server Queued Requests The number of requests queued for processing at any given time Requests The number of requests being processed by.the server at any given time

Timed

Out Requests The number of requests that timed out while being executed by the server In addition to monitoring the ColdFusion counters, you may want to monitor the % Processor Time counter. Correlation between this counter and some of ColdFusion’s counters (such as Running Requests) may-help you adjust the server’s settings for optimum performance. For instance, setting the number of simultaneous requests that Cold- Fusion will accept to too high a value can cause performance degradation. This counter can help catch these problems.

Performance Enhancement with the coldFusion Administrator

As you saw in the “Using the ColdFusion Administrator” section, some Administrator settings can be used to optimize performance for your applications. Specifically, these are:

• Limit Simultaneous Requests to X on the Server Settings screen of the Server section
• Template Cache Size on the Server Settings screen of the Server section

 

Posted on November 17, 2015 in ClodFusion Administration

Share the Story

Back to Top
Share This