Hello You can configure healthcheck https://cloud.google.com/load-balancing/docs/health-check-concepts#criteria-protocol-http with Solr's ping request handler https://solr.apache.org/guide/solr/latest/deployment-guide/ping.html. Also, Google cloud has sophisticated Traffic Director, which can also suit for node failover.
On Tue, Jun 13, 2023 at 9:13 AM Saksham Gupta <[email protected]> wrote: > Hi team, > We need help with the strategy used to request data from solr cloud. > > *Current Searching Strategy:* > We are using solr cloud 8.10 having 8 nodes with data sharded on the basis > of an implicit route parameter. We send a search http request on google's > network load balancer which divides requests amongst the 8 solr nodes. > > *Problem with this strategy:* > If solr on any one of the nodes is down, the requests that come to this > node give 5xx. > > We are thinking of other strategies like > 1. adding 2 vanilla nodes to this cluster(which will contain no data) which > will be used for aggregating and serving requests i.e. instead of sending > requests from lb to the 8 nodes, we will be sending the requests to the new > nodes which will send internal requests on other nodes and fetch required > data. > 2. Instead of dividing requests using a load balancer, we can use zookeeper > to connect with solr cloud. > > Would these strategies work? Is there a more optimized way using which we > can request on solr? > -- Sincerely yours Mikhail Khludnev
