-->
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: Hibernate search for the Distributes architecture
PostPosted: Wed Apr 19, 2017 7:51 am 
Newbie

Joined: Wed Apr 19, 2017 7:47 am
Posts: 1
Hello All,

I am trying to implement hibernate search for the spring based web app, we deploy our application in two different data centers. We wanted to use the hibernate search for for efficient and advanced search. As indices are stored and particular to a location in a data center, So requests coming to data center will not be in control and hence the indices update for every Create , Delete and Update operation will be particular to data center and indices will be updated for that.

Kindly share your experiences, if anyone has implemented for distributed architecture.

Thanks,
Pavan


Top
 Profile  
 
 Post subject: Re: Hibernate search for the Distributes architecture
PostPosted: Mon May 22, 2017 5:02 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hi Pavan,

Hibernate Search supports multiple alternatives for such a design, but choosing the right one will need a more detailed analysis.

One option is to use the master/slave approach described here:
- https://docs.jboss.org/hibernate/stable ... #_back_end

For the backend of this solution you can use either JGroups or JMS queues. Both are very flexible so you should be able to configure them for reliable cross-datacenter replication.

You can also use Infinispan to store the index. Infinispan is a distributed data grid with support for multi-data center replication. The Infinispan team maintains a module to store Hibernate Search indexes in it.

Another option is to use the new Elasticsearch integration. This is an experimental new feature of the latest versions (it's available in version 5.6, 5.7 and 5.8) and supports delegating both index state and query operations to an Elasticsearch cluster.

HTH
Sanne

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


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.