Florian Hockmann created TINKERPOP-2354:
-------------------------------------------

             Summary: Document recommendation to reuse graph traversal source
                 Key: TINKERPOP-2354
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2354
             Project: TinkerPop
          Issue Type: Improvement
          Components: documentation
    Affects Versions: 3.3.10
            Reporter: Florian Hockmann


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:

{quote} # 
[https://tinkerpop.apache.org/docs/current/tutorials/gremlins-anatomy/] - in 
GraphTraversalSource section
 # 
[https://tinkerpop.apache.org/docs/current/tutorials/getting-started/|https://slack-redir.net/link?url=https%3A%2F%2Ftinkerpop.apache.org%2Fdocs%2Fcurrent%2Ftutorials%2Fgetting-started%2F&v=3]
 - where we first show how to instantiate {{g}}
 # 
[https://tinkerpop.apache.org/docs/current/reference/#connecting-gremlin|https://slack-redir.net/link?url=https%3A%2F%2Ftinkerpop.apache.org%2Fdocs%2Fcurrent%2Freference%2F%23connecting-gremlin&v=3]{quote}
{quote}or written up well once in the reference docs and linked to from the 
other locations....{quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to