| To: | <lei.han@xxxxxxxxxxxxx>, <users@xxxxxxxxxx> |
|---|---|
| Subject: | RE: [cinjug-users] How much data can session store? |
| From: | "Tom Rose" <tom.rose@xxxxxxxxxxxx> |
| Date: | Tue, 1 Nov 2005 23:05:21 -0500 |
| Delivered-to: | mailing list users@cinjug.org |
| In-reply-to: | <OF6E3E202A.17DC9A0F-ON852570AD.000FAF28-052570AD.0010014B@nd.convergys.com> |
| Mailing-list: | contact users-help@cinjug.org; run by ezmlm |
| Organization: | i-Konect |
| Reply-to: | <tom.rose@xxxxxxxxxxxx> |
| Thread-index: | AcXfWOygWGxPy/psRlKjgwp5QP1FVAAAbVOw |
|
Lei,
Not sure about a way to limit the session size in a
particular container. However, best practice is to keep HTTPSession as
small as possible for each user. If configured for persistent session, remember
it will get serialized and stored, so from a query and store perspective the
larger it gets the slower it will be to perform these operations. When you get
into a clustered configuration, you may have in-memory session replication for
fail over, or just persisted as noted before.
So to answer you question, you need to get familiar
with what is being done with HTTPSession in your particular container
configuration. Then if the HTTPSession behavior (persistent, replication, etc)
is consistent with the behavior required for the cached data, there is no
advantage to building another cache. If the data does not have the same
requirements, then yes there may be advantage to creating another cache.
Regardless of what is chosen, you will still have to performance profile the
application to see how its behaving, and ultimate tuning of the JVM is always a
good idea.
Best
Regards,
Tom --
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | How much data can session store?, lei . han |
|---|---|
| Next by Date: | RE: [cinjug-users] How much data can session store?, Amol Deshmukh |
| Previous by Thread: | How much data can session store?, lei . han |
| Next by Thread: | RE: [cinjug-users] How much data can session store?, lei . han |
| Indexes: | [Date] [Thread] [Top] [All Lists] |