-->
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.  [ 4 posts ] 
Author Message
 Post subject: Master / slave and replication speed
PostPosted: Fri May 01, 2009 2:12 pm 
Beginner
Beginner

Joined: Tue May 03, 2005 11:45 pm
Posts: 43
Our spring / hibernate search application has a requirement that new entities must show up within seconds instead of say 30 minutes. How can we modify the master / slave configuration to meet this need using multiple nodes in a glassfish cluster?


Top
 Profile  
 
 Post subject: Re: Master / slave and replication speed
PostPosted: Mon May 04, 2009 4:52 pm 
Newbie

Joined: Fri May 01, 2009 1:48 pm
Posts: 4
Hello, what about configuration parameter
Quote:
hibernate.search.default.refresh=XXX
, where XXX is number of seconds between updates?


Top
 Profile  
 
 Post subject: Re: Master / slave and replication speed
PostPosted: Mon May 04, 2009 5:06 pm 
Beginner
Beginner

Joined: Tue May 03, 2005 11:45 pm
Posts: 43
Our worry is that if we set that refresh rate to something like 5 or even 10 seconds that it wouldn't perform well as the index grew in size. Am I wrong in this assumption?


Top
 Profile  
 
 Post subject: Re: Master / slave and replication speed
PostPosted: Mon May 04, 2009 6:18 pm 
Newbie

Joined: Fri May 01, 2009 1:48 pm
Posts: 4
We didn't test so short interval, 900s is sufficient for our project. Answer is simple, do a performance test a experiment with the value. According to Hibernate Search in Action book, these index updates are performed only on changed items so not whole index is copied.
If you do the performance test I'm curious to the results so publish them if you can please.

Sincerely,

Jirka Hradil


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