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.  [ 2 posts ] 
Author Message
 Post subject: MySQL Replication for Scale-Out
PostPosted: Mon Jun 20, 2011 4:27 am 
Newbie

Joined: Mon Jun 20, 2011 4:12 am
Posts: 4
Hi guys,
what is the best way to accomplish a MySQL replication like the one depicted here (nothing of special just 2 hibernate session, one for writing, another for reading).
I tried to configure 2 hibernate session (through spring), with different data source, but whenever a write session tries to persist an object, violates the unique-key (I might be totally wrong, but it's look like hibernate after verified the object absence inside the read session, tries to persist it again).

Image


Top
 Profile  
 
 Post subject: Re: MySQL Replication for Scale-Out
PostPosted: Thu Jun 30, 2011 11:31 am 
Newbie

Joined: Mon Jun 20, 2011 4:12 am
Posts: 4
Any thought?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.