On 1/8/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
Leon Rosenberg ha scritto:
> it solely depends on how much heap you give your webcontainer divided
> by the number of users you have/expect minus the memory the remaining
> application requires.
size = (HEAP - APP_MEMORY)/users. Is it really so simple? :-)
No. its more along:
mem = HEAP+PERM_SPACE;
NEEDED_HEEP = NUMBER_OF_CONCURRENT_REQUEST*REQ_SCOPE_SIZE+
NUMBER_OF_CONCURRENT_PAGES*PAGE_SCOPE_SIZE+
NUMBER_OF_CONCURRENT_REQUEST*PER_REQUEST_APP_MEM+
NUMBER_OF_CONCURRENT_USERS*SESSION_SCOPE_SIZE+
APP_SCOPE_SIZE + CACHE_SIZE+APP_MEMORY;
NEEDED_PERM = CLASSCOUNT * CLASSSIZE;
and so on.
but I think the first estimation was the more useful :-)
Anyway beware of the size of session-scoped objects, in a clustered
environment they need to be shared, serialized and deserialized and they
could need a large bandwidth.
If you/OP are/is in clustered environment. But its good to declare
only those things serializable you really intend to serialize either
way.
Antonio
Leon
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]