Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12297

Add Http2SolrClient, capable of HTTP/1.1, HTTP/2, and asynchronous requests.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.0
    • None
    • None

    Description

      Blocking or async support as well as HTTP2 compatible with multiplexing.

      Once it supports enough and is stable, replace internal usage, allowing async, and eventually move to HTTP2 connector and allow multiplexing. Could support HTTP1.1 and HTTP2 on different ports depending on state of the world then.

      The goal of the client itself is to work against HTTP1.1 or HTTP2 with minimal or no code path differences and the same for async requests (should initially work for both 1.1 and 2 and share majority of code).

      The client should also be able to replace HttpSolrClient and plug into the other clients the same way.

      I doubt it would make sense to keep ConcurrentUpdateSolrClient eventually though.

      I evaluated some clients and while there are a few options, I went with Jetty's HttpClient. It's more mature than Apache HttpClient's support (in 5 beta) and we would have to update to a new API for Apache HttpClient anyway.

      Meanwhile, the Jetty guys have been very supportive of helping Solr with any issues and I like having the client and server from the same project.

      Attachments

        1. SOLR-12297.patch
          150 kB
          Cao Manh Dat
        2. SOLR-12297.patch
          62 kB
          Cao Manh Dat
        3. SOLR-12297.patch
          39 kB
          Cao Manh Dat
        4. starburst-ivy-fixes.patch
          6 kB
          Shawn Heisey

        Issue Links

          Activity

            People

              markrmiller@gmail.com Mark Miller
              markrmiller@gmail.com Mark Miller
              Votes:
              0 Vote for this issue
              Watchers:
              19 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: