-->
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: Hibernate search in clustered environment
PostPosted: Thu May 19, 2011 7:16 am 
Newbie

Joined: Fri Jun 11, 2010 3:00 am
Posts: 14
Hi Sanne,

I am implementing a solution using hibernate search which has 11+ records to index in a clustered environment.

I have the following three options.

1) Remote Directory: As we plan to deploy our app on EC2 instances and mounting to remote directory to another EC2 is really tough or impossible. And S3 could be used but it looks this has performance issues.

2) Infinispan directory: If I understand correctly, infinispan is in memory storage and with huge data it may hit the performance of application.

3) JMS/JGroups: This looks to be promising. But do I need any other JMS server we deploy it on tomcat?

please suggest if we could use infinispan?


Top
 Profile  
 
 Post subject: Re: Hibernate search in clustered environment
PostPosted: Thu May 19, 2011 2:30 pm 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Quote:
I am implementing a solution using hibernate search which has 11+ records to index in a clustered environment.

11 ?

Quote:
1) Remote Directory: As we plan to deploy our app on EC2 instances and mounting to remote directory to another EC2 is really tough or impossible. And S3 could be used but it looks this has performance issues.

really not recommended, file locking is a big problem on remote mounted directories.

Quote:
2) Infinispan directory: If I understand correctly, infinispan is in memory storage and with huge data it may hit the performance of application.

well actually we made it to be able to cluster better, it's definitely the best option for cloud deployments

Quote:
3) JMS/JGroups: This looks to be promising. But do I need any other JMS server we deploy it on tomcat?

yes, any JMS server will do. JGroups is an alternative to JMS, so using JGroups you won't need it.
Note that this doesn't solve the problem of where to *store* the index, in fact what we suggest is to combine the Infinispan directory with the JMS or JGroups approach. JGroups might seem simpler, but if the master crashes at least JMS would store the messages so it's considered more reliable.

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
 Post subject: Re: Hibernate search in clustered environment
PostPosted: Fri May 20, 2011 3:34 am 
Newbie

Joined: Fri Jun 11, 2010 3:00 am
Posts: 14
I am sorry it is not 11, it is 11+ lacs records

Thanks Sanne.


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.