[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Use Case question  XML
Forum Index -> Ehcache
Author Message
bep

neo

Joined: 03/08/2010 11:01:29
Messages: 4
Offline

Hey,

We are in a process of splitting up a larger application into smaller parts (WAR, possibly both running in same JVM and different JVMs).

The app shares a lot of user data (1000-3000 concurrent sessions) via http session:

1. some fairly static data that is fetched when user logs on
2. data used for inter-app-communication (simulating request.setAttribute, reguest.getAttribute), data that is deleted once it is read by the receiver.


I will make some test scenarios, but my guess is

Ehcache in "Express mode"

The data structure I'm a little bit concerned about:

1. One big UserData object
2. Smaller chunks stored in the Cache
3. Both (maybe the UserData for the fairly static data)
zeeiyer

consul

Joined: 05/24/2006 14:28:28
Messages: 493
Offline

Well - if some user related data is only needed in the sub-application, then you could presumably leave it in session and use Terracotta for Sessions.

For the rest you can factor it out into an Ehcache (Express) and share that. Leaving one large chunk of UserData should be fine - what is large btw?

Sreeni Iyer, Terracotta.
Not a member yet - Click here to join the Terracotta Community
rajoshi

seraphim

Joined: 07/04/2011 04:36:10
Messages: 1491
Offline

Issue seems to be resolved.Please let us know if more information is required.

Rakesh Joshi
Senior Consultant
Terracotta.
 
Forum Index -> Ehcache
Go to:   
Powered by JForum 2.1.7 © JForum Team