Class ReaderConnectionPool

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.

Hierarchy

  • ReaderConnectionPool

Constructors

Properties

Methods

g

Constructors

Properties

connectionIndex: number = -1

The index of traversal (connection) currently used.

The pool of traversal (connections) objects.

poolSize: number

The traversals (connections) pool size.

Methods

Generated using TypeDoc