[ https://issues.apache.org/jira/browse/TINKERPOP-2354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen Mallette closed TINKERPOP-2354. --------------------------------------- Fix Version/s: 3.4.7 3.3.11 3.5.0 Assignee: Stephen Mallette Resolution: Done Added a couple of notes to the documentation about this: https://github.com/apache/tinkerpop/commit/d62edb05e37117034a1d2e1841433d4d02ab0537 https://github.com/apache/tinkerpop/commit/2bda06c7d54bd23971765d53c9f698b124a23349 > 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 > Assignee: Stephen Mallette > Priority: Minor > Fix For: 3.5.0, 3.3.11, 3.4.7 > > > 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)