Performance Analysis for Javaв„ў Websites

Use the HTTP Session Sizing worksheet to estimate the JVM memory required to support HTTP sessions. Please see Chapter 6 for a complete description of the data and calculations in the worksheet. Also, see Chapter 10, Case Study: Preparing to Test, for an example using this worksheet.

Input Data

  Input Data Source of Data Your Data
1. User arrival rate (in seconds) Capacity Sizing worksheet, line 11  
2. Average user visit time Capacity Sizing worksheet, line 5  
3. Planned HTTP session timeout interval (in minutes) System administrator  
4. HTTP session size (per user) Network Capacity Sizing worksheet, line 7  

Calculating HTTP Session Memory Requirement

  Calculated Data Calculation Total
5. Average time user session stays resident in memory (in minutes)

Average user visit time + Session timeout

Line 2 + Line 3

 
6. Number of user sessions in memory

User arrival rate * Average time session in memory

Line 1 * Line 5

 
7. HTTP session memory required

Number of user sessions in memory * HTTP session size

Line 6 * Line 4

 

Категории