-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: How to scale detached persistent objects in cluster?
PostPosted: Wed Mar 15, 2006 8:03 pm 
Beginner
Beginner

Joined: Mon Aug 15, 2005 9:00 pm
Posts: 37
Hello,

"Hibernate in Action" suggests storing detached persistent objects (graph) in Http session. But to my knowledge, this will cause performance/scalability issue in a load-balanced server cluster with replicated session. This is because that session replication in clusters (e.g. Tomcat 5 cluster) is expensive and perform badly for large session objects. However, if you want to be able to route client request to any server in the cluster, detached objects can only be replicated via session - (It cannot be stored in cookie :-)

I wonder how do other people solve this problem in really projects?

cheers
chuck


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 15, 2006 8:10 pm 
Regular
Regular

Joined: Thu May 26, 2005 12:20 am
Posts: 72
Sticky sessions -> no session replication =)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 15, 2006 9:47 pm 
Beginner
Beginner

Joined: Mon Aug 15, 2005 9:00 pm
Posts: 37
Thx for the reply.

But if the server serving the sticky session crashes, the cluster cannot failover new request to other servers. Any better idea?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.