Skip to content

Add keepalive - #302

Merged
bovlb merged 3 commits into
developfrom
add-keepalive
Sep 8, 2023
Merged

bovlb merged 3 commits into
developfrom
add-keepalive

Conversation

@bovlb

@bovlb bovlb commented Sep 7, 2023

Copy link
Copy Markdown
Contributor

This PR adds (client-side) keepalive to Connector. This uses a small third-party library that claims to work on Linux, MacOS, and Windows. The new feature is enabled by default.

From my testing, queries longer than about five minutes will be disconnected on AWS (and probably on GCP too). This problem affects remove_all_objects, but would also affect large batch imports. With this new feature enables, I can keep a query running AWS->AWS for an hour without problems.

This feature does increate network traffic slightly, but the only reason I'm aware of to disable it is if you are accessing aperturedb over a cellular connection. I am therefore enabling it by default.

@gsaluja9 gsaluja9 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@bovlb
bovlb merged commit 15e81ca into develop Sep 8, 2023
@bovlb
bovlb deleted the add-keepalive branch September 8, 2023 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants