Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2445

Speed up client initialization

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.0, 3.4.8
    • Fix Version/s: 3.5.0, 3.4.9
    • Component/s: driver
    • Labels:

      Description

      The current Java client has a lot of initialization overhead. Some of the things we could do to trim the fat are:

      1. Parallelize the connection creation inside a connection pool, i.e. make this for loop parallel. 
      2. Do not create a bootstrap for every connection. A single bootstrap could be reused.
      3. Remove SASL Handler from the pipeline after negotiation is complete for a connection.
      4. Do not initialize SASL Handler if not required.

      As part of this task, we should profile the start-up time and identify other places where we could optimize the start-up time.

        Attachments

        1. screenshot-1.png
          27 kB
          Borys Pierov

          Activity

            People

            • Assignee:
              divijvaidya Divij Vaidya
              Reporter:
              divijvaidya Divij Vaidya
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: