-
Notifications
You must be signed in to change notification settings - Fork 825
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
Review Rust gRPC ecosystem for Rust SDK #1300
Comments
Sorry for jumping the gun with #2112, I hadn't seen this issue before I started that work. Anyways, here are the pros/cons of switching from grpcio to tonic, as I see them. Pros
Cons
|
@Jake-Shadle do we have any concerns around tying our API to the Tokio async ecosystem? If someone wanted to use |
Not particularly, it does mean an application would have 2 futures reactors/executors, but once you have created the future for either an async-std or tokio you can execute it on whichever reactor you want to use. So I believe the worst thing would be if some project doesn't already have a dependency on tokio at all, but wants to use agones, but honestly that seems like it would be an extremely rare case IME. |
Yeah that doesn't bother me either. Sound good. The biggest issue then is just making sure that our compliance tests still pass, and we maintain backward compatibility I think. |
Oh, and we need to update our rust examples too 😄 |
I think #2112 addresses all of the Rust code already? Or at least, CI passes now after converting the examples and matching the previous behavior (from the perspective of the tests). |
Context:
#1202 (comment)
The current Rust gRPC library has some issues around SSL, and the Rust ecosystem has changed a bit in the last while. We should review it, and see if it's worth switching out the underlying gRPC implementation -- without changing the Agones client SDK surface.
https://github.com/hyperium/tonic is looking like a forerunner from all reports, but apparently we might want to wait for a 0.2 release for the api surface to stabilise.
The text was updated successfully, but these errors were encountered: