uCosminexus Application Server, Expansion Guide

[Contents][Index][Back][Next]

5.8.4 Estimating memory of an EADs server

With the EADs session failover functionality, use two caches (application information cache and session information cache).

For estimating the memory size of an EADs server, number of data records, size of key and size of value are required. This subsection describes how to calculate the data unit, and the size of the key and value to be stored in the application information cache and session information cache used in the EADs session failover functionality.

For details on estimating memory of an EADs server, see the Elastic Application Data store User's Guide.

Organization of this subsection
(1) Application information cache
(2) Session information cache

(1) Application information cache

Unit of data stored in cache
Store one data (application information) in application information cache for each web application.

Formula for estimating key size
Size (bytes) of key in application information cache
= (number of characters in application identifier [Figure] 3 + 24) [Figure] 1.2
= (128 [Figure] 3 + 24) [Figure] 1.2
[Figure]490

Formula for estimating value size
Size (bytes) of value in application information cache
= ((Number of characters in J2EE application name + Number of characters in context root name
+ Number of characters in the URL pattern that inhibits EADs session failover functionality
+ Number of characters in the URL pattern of refer-only requests) [Figure] 3
+ 20) [Figure] 1.2

(2) Session information cache

Unit of data stored in cache
Store one data (session information) in session information cache for each session.

Formula for estimating key size
Size (bytes) of key in session information cache
= ((Number of characters in application identifier + Number of characters in session ID) [Figure] 3 + 3) [Figure] 1.2
=((128 + 112) [Figure] 3 + 3) [Figure] 1.2
[Figure]870

Formula for estimating value size
Size (bytes) of value in session information cache
= Size of HTTP session attribute information + (Number of characters in J2EE server identifier [Figure] 3 + 68) [Figure] 1.2
= Size of HTTP session attribute information + (64 [Figure] 3 + 68) [Figure] 1.2
= Size of HTTP session attribute information + 312

For details on the size of HTTP session attribute information, see 5.8.2 Estimating size of HTTP session attribute information.