-
Notifications
You must be signed in to change notification settings - Fork 191
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 a golang method for calling rpc. #317
Comments
No golang bprc client yet :( The rpc and rest server of TuGraph both using brpc, therefore we'd better using brpc client. Currently, the brpc client of TuGraph support c++/java/python. C++ using brpc official client, while java using baidu supported client (https://github.com/baidu/starlight). Python using python11 of c++ client. Anyway, rest client can be much easier supported by any language. |
Why not use GRPC? |
tugraph-db uses braft as its consistency protocol, which binds brpc as its embedded rpc. So we use brpc as default between client and server. Moreover, brpc is a good choice besides grpc. |
Now tugraph-db supports bolt protocol, which enables us to use some open-source client from Neo4j community. If you prefer Golang, you can try this at https://github.com/TuGraph-family/tugraph-db/blob/master/demo/Bolt/go_example.go |
We hope we help you on this issue. This issue will be closed as it is supposed to be solved. If you have any more questions, please feel free to reopen it. |
Compatible with the golang for calling rpc
The text was updated successfully, but these errors were encountered: