Skip to content

TcpClient Pool and/or Async Usage #5

@zachkinstner

Description

@zachkinstner

Based on the latest RemoteGremlinTests results and discussion, it looks like creating a new TcpClient for each request adds about 1.5ms to the total execution time. TcpClient connections could be pooled for reuse.

Also, consider connecting asynchronously. This may help RexConnect's times in RemoteGremlinTests parallel mode. See this async example.

I'm not sure if this kind of functionality belongs in RexConnectClient. It seems like a good option to offer, at least.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions