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

Document recommendation to reuse graph traversal source

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Done
    • 3.3.10
    • 3.5.0, 3.3.11, 3.4.7
    • documentation
    • None

    Description

      We recommend that users reuse the graph traversal source across their application. One reason for that is that the same driver instance is used for all traversals which is necessary to use the connection pool efficiently.

      This recommendation should also be in the docs to make users aware of it. spmallette mentioned these places to add this recommendation to:

      1. https://tinkerpop.apache.org/docs/current/tutorials/gremlins-anatomy/ - in GraphTraversalSource section
      2. https://tinkerpop.apache.org/docs/current/tutorials/getting-started/ - where we first show how to instantiate g
      3. https://tinkerpop.apache.org/docs/current/reference/#connecting-gremlin

      or written up well once in the reference docs and linked to from the other locations....

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            Florian Hockmann Florian Hockmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: