-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add session manager #217
add session manager #217
Conversation
Thanks for your contribution. According to the feedback we received from the java client, we might need a different design of the session pool. For example, we can execute a query via the session pool without getting a session wrapper instance. A PR address this problem will be submitted later, please keep an eye on it. |
Hi @horoc, we appreciated your contributions and continually working at night for this elegant implementation, extremely sorry for how it goes as so due to the community is planning on a whole new design. While an unmerged PR is as valuable (especially for those like yours) as those merged, we will reach out to you via mail (gmail) for Contributor memorabilia and certificates, kindly help reply the mail with your address :) It's great to have you in the community @horoc . Cheers! |
Thanks for the reply! |
refer to the issue
#215
I have tried to implement a session manager refer to the solution of java client, which mainly aim to improve performance in concurrent query.
In current go-client:
according to the reasons above, I have tried to implement a session manager and do some simple benchmark test:
env : 16 core cpu, 32GB memory
dataset: https://docs.nebula-graph.com.cn/3.1.0/2.quick-start/4.nebula-graph-crud/
Concurrent query with "GO FROM" statment:
with session manager :
only connection pool :
I think maybe it's useful for some high QPS of latency sensitive scenarios.