Coding Performance into the CML

The ways an application is designed and implemented affect both the way it performs and the degree to which it scales. This section covers both issues — performance and scalability — in the Corporate Media Library (CML) application.

The Fitch & Mather (F & M) Corporation has 4,500 employees, which means 4,500 potential users of the CML application. Internal research showed that only 1 percent of them are likely to search for books online simultaneously. The developers of the CML knew that 45 users, though very small compared to possible usage rates for an Internet Web application, was probably reasonable for a company the size of F & M.

Still, they designed the CML with performance and scalability in mind, in case usage spikes occur. To this end, they used the following generally recommended model:

Even with the best design, every application must function within the limits of its design and environment. The CML's limits are as follows: