Does JanusGraph keep the connection?
When a JanusGraph server is started, does it keep connections to the Storage Backends? Or when an operation is performed, it will initiate a connection and if so, will the connection be closed or not?
2 Replies
It’s relative to the storage backend you are using. Each storage backend implementation has its own way of communicating with the storage nodes.
For CQL connection we are opening a session where each session is managing connections (usually 1 connection per storage node but it depends on the configuration). Each connection may perform specified number of parallel requests (by default 1024) depending on the channels load.
It may very from storage backend to storage backend and from protocols used.
i'm using Hbase