1 / 16

CF Administrator

Nate Nelson I*LEVEL, Inc. nate.nelson@ilevelinc.biz. CF Administrator. Server Settings. Maximum # of Simultaneous Requests Recommended 3 Per Processor Timeout Requests after n seconds Prevent unusually lengthy requests from using up server resources Whitespace Management

Télécharger la présentation

CF Administrator

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.


Presentation Transcript

  1. Nate Nelson I*LEVEL, Inc. nate.nelson@ilevelinc.biz CF Administrator

  2. Server Settings • Maximum # of Simultaneous Requests • Recommended 3 Per Processor • Timeout Requests after n seconds • Prevent unusually lengthy requests from using up server resources • Whitespace Management • Missing Template Handler • Site-wide Error Handler

  3. Caching • Maximum # of Cached Templates • Too low of number can slow down response time • Too high of number requires more memory • Experiment to find best setting for your server • Suggested to start with 1 page per MB of JVM size • Trusted Cache • ColdFusion will no not check for updated templates that are cached • Great performance enhancement for Production server that won't be updated

  4. Caching • Save Class Files • Recommended for Production Server • Cached web paths • Only for single-site web server installations • Cached Queries • Specify # of queries cached at once • Cached queries reside in memory • When limit is reached, oldest is removed • cachedwithin or cachedafter of <cfquery>

  5. Client Variables • Used for persistent data • Can be stored in 1 of 3 locations • Registry (Default storage) • Simple Implementation • Registry can become corrupt if it becomes too large • Cookies • Simple Implementation • Users can have cookies disabled • Datasource (Requires database) • Portable and not tied to host system • Complex Implementation

  6. Client Variables • Control Client Variable expiration • Default 90 days, Minimum 1 day • Disable Global Client Variable Updates • If checked, client vars HITCOUNT & LASTVISIT only update when Client vars set or modified • Client Variable expiration based on HITCOUNT and LASTVISIT • Alternate way to set Client Var Storage • <cfapplication name= "x" clientManagement= "yes" clientStorage= "dsn" or "registry" or "cookie">

  7. ColdFusion Mappings • Mappings allow you to point to files outside of webroot • Logical Path = Name of mapping • Directory Path = Absolute path to directory • Mappings can be used in <cfinclude> and <cfmodule> • Specify mapping with “/” • <cfinclude template=”/mymapping/file.cfm

  8. More Server Settings • Mail Server • Connect to default mail server, can also be set with <cfmail> • Server Port, Connection Timeout, Spool Interval • Mail logging settings • Charting Settings • Cache Type (memory or disk), Max # cached images, # of charting threads, disk cache location

  9. More Server Settings • Java and JVM settings • JVM Path = location of JVM.dll or JVM.so • Min and Max JVM Heap Size • Class Path and JVM Arguments • Archives and Deployment • Archive and deploy CF apps, configuration settings, dsn info and more • Settings Summary • Shows all CFMX configuration settings

  10. Data & Services • Data Sources • Setup & verify connections to Data Sources • Verity Collections • Manage collections for search interfaces • Verity K2 Server • For faster searching • Web Services • Registering a web service allows you to change web service URL without changing code

  11. Debugging Settings • Enable Debugging • For performance and security reasons it is recommended to only be used in development • Can be enabled in CFAdmin or in code • <cfsetting showdebugoutput=”yes” or “no”> • Custom Debug Output • Classic or Dockable format • Switch on or off specific debug content • Variables include Application,CGI,Client, Cookie,Form,Request,Server,Session,URL

  12. Debuggin IP Addresses • IP Address List • If 1 or more IP addresses are specified, debug is limited to those IP's only • No IP Addresses listed • If no IP address specified then debug is appended to all requests

  13. Logging and More • Manage CFMX Logging Options • Log Directory, Maximum Log File Size • Log slow pages taking longer than n seconds • Log Files • Useful to find bottlenecks • application.log, exceptions.log, scheduler.log, server.log, customtag.log, mail.log, etc. • Scheduled Tasks • Schedule execution of local and remote web pages

  14. Extensions • Java Applets • To use <cfapplet>, Applets must be registered • CFX Tags • Written C++ or Java, must be registered • Faster than custom tags since compiled • Custom Tags • Specify custom tag location besides default • CORBA Connectors • Must be registered, requires restart

  15. Security • CF Admin Password • RDS Password • Sandbox Security • A sandbox is a designated area of your site to which you apply security restrictions. • Control access to Data Sources, Tags, Functions, Files and Directories, IP Ports

  16. Resources • Macromedia CFMX Documentation • Configuring and Administering CFMX • http://www.macromedia.com/support/documentation/en/coldfusion/ • Live Docs • http://livedocs.macromedia.com/coldfusion/6.1/index.html

More Related