Protected connectionThe index of traversal (connection) currently used.
Protected poolThe pool of traversal (connections) objects.
Protected poolThe traversals (connections) pool size.
Protected traversalRetrieve the graph traversal source object.
This method currently uses simple round-robin to return the next traversal source from the list. It is not guaranteed that the returned traversal would be using a remote connection driver which is free at the moment.
Generated using TypeDoc
The connections pool implementation.
In order to avoid race conditions and data inconsistency, Kosmos uses only one (primary) Gremlin connection for writing data. However, for most read-only workloads, it's safe to run queries over pool of connections to avoid blocking.