Top

Deployment and Performance Issues


After you've written your application, tested it, and verified that it works properly, it's ready to be deployed for use by your customers. Before you deploy, you'll want to perform some finishing touches. For example, if you included any logWithFormat: (or logString) statements in your code for debugging purposes, you'll probably want to remove them before you deploy.

This chapter describes finishing touches that you might want to add after you're through debugging the bulk of your application's code. It covers such topics as how to record application usage statistics, how to shut down an application gracefully, how to substitute your own code when an error occurs, and how to improve the application's performance.

You'll also want to read the online document Serving WebObjects. This document is intended for the person who sets up the website and maintains the application after it is deployed. It covers such topics as how to perform load balancing, how to maintain a log file, and how to test and improve performance of the applications running on a site.

Recording Application Statistics
Maintaining a Log File
Accessing Statistics
Recording Extra Information

Error Handling

Automatically Terminating an Application

Performance Tips
Cache Component Definitions
Compile the Application
Control Memory Leaks
Limit State Storage
Limit Database Fetches
Limit Page Sizes

Installing Applications

First Section