I want to achieve high availability with SolR Cloud. I need to dev a SolR PHP Client supporting node failure.
My lead is to work with guzzle RetryMiddleware and somehow keeptrack of up or down nodes.
My question is : is it a good lead ? (I'm not very familiar with Guzzle)
I'm not familiar with Solr Cloud, but IMO if you want to create a proper client, you need to write your own middleware for Guzzle with the specific fallback logic inside.
RetryMiddleware
is basically for retrying the same request after a delay period, nothing more. You cannot change the request (send it to a different node or something). That's why I think it could be only a part of the solution.
Otherwise the question is too broad at the moment.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.