Divij Vaidya created TINKERPOP-2445:
---------------------------------------

             Summary: Speed up client initialization
                 Key: TINKERPOP-2445
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2445
             Project: TinkerPop
          Issue Type: Improvement
          Components: driver
    Affects Versions: 3.4.8, 3.5.0
            Reporter: Divij Vaidya


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|https://github.com/apache/tinkerpop/blob/3.4-dev/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/ConnectionPool.java]
 parallel. 
2. Do not create a bootstrap [for every 
connection|https://github.com/apache/tinkerpop/blob/3.4-dev/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Connection.java#L111].
 A single bootstrap could be reused.

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



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

Reply via email to