16
CF Administrator Nate Nelson I*LEVEL, Inc. [email protected]

CF Administrator

  • Upload
    tonya

  • View
    26

  • Download
    0

Embed Size (px)

DESCRIPTION

Nate Nelson I*LEVEL, Inc. [email protected]. 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 - PowerPoint PPT Presentation

Citation preview

Page 1: CF Administrator

CF Administrator

Nate NelsonI*LEVEL, Inc.

[email protected]

Page 2: 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• Missing Template Handler• Site-wide Error Handler

Page 3: CF Administrator

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

Page 4: CF Administrator

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>

Page 5: CF Administrator

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

Page 6: CF Administrator

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">

Page 7: CF Administrator

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

Page 8: CF Administrator

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

Page 9: CF Administrator

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

Page 10: CF Administrator

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

Page 11: CF Administrator

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

Page 12: CF Administrator

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

Page 13: CF Administrator

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

Page 14: CF Administrator

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

Page 15: CF Administrator

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

Page 16: CF Administrator

Resources

• Macromedia CFMX DocumentationConfiguring and Administering CFMX

• http://www.macromedia.com/support/documentation/en/coldfusion/

Live Docs• http://livedocs.macromedia.com/coldfusion/6.1/index.html