Uploaded image for project: 'Hibernate Search'
  1. HSEARCH-2449

Allow configuration of the pool sizes, timeouts and autodiscovery for the Jest client connections

    Details

      Description

      To really get the Jest client usable for production, we need to expose the following configurations:

      • the pool sizes
      • the different timeouts on the HTTP requests - it might even be a good idea to set the read timeout a bit higher by default (AFAICS the default for Jest is 3 seconds)
      • the autodiscovery feature - which allows failover and discovery of new nodes in the cluster: there is a boolean and a frequency: we should at least expose the boolean

      To be clear, the autodiscovery only brings "overall" failover, not "per-request" failover. It only implies that failing nodes will eventually be removed from the server list, but a failing request caused by a failing node will not be tried again on another node. Thus HSEARCH-2469 Closed will still be valid even if we add autodiscovery.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                yrodiere Yoann Rodière
                Reporter:
                sanne Sanne Grinovero
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: