-->
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.  [ 1 post ] 
Author Message
 Post subject: Using Slony with Hibernate
PostPosted: Mon Jul 21, 2008 5:27 am 
Newbie

Joined: Tue Apr 22, 2008 12:08 pm
Posts: 3
I'm currently looking for a good way to benefit from an existing Slony (Slony-I) setup (1 Master, 1 Slave) in terms of load balancing read requests to PostgreSQL.

After some intense searching on mailing lists, forums etc. I could not find very valuable resources regarding my situation. Slony-I and Hibernate does not seem to be a popular solution. Anyway, I found the most promising info here: Hibernate and Master/Slave replicated databases

Gavin suggested to solve this issue at the JDBC level via C-JDBC, which is now Sequoia. I'm currently looking into Sequioa but have the feeling that it comes with its own replication solution.

I'd love to add an additional business check that prevents someone from writing data to the master, read from the slave. Did anyone gain experience yet in this matter? Any hints would be greatly appreciated!


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

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.