-
Notifications
You must be signed in to change notification settings - Fork 54
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
Replace capnp with another protocol #11
Comments
For client connection, WebSockets with JSON-RPC 1.0 or a simiar custom protocol (based on json or message pack (MP) or CBOR)seem to be best option:
This needs to be done before #38. |
Partially resolved on v0.3: The governor-executor protocol has been switched to CBOR. The attributes are now transported as JSON even in capnp and remote object retrieval has been simplified, making future migration easier. |
Keeping open to track progress. |
While it currently serves reasonably well, Capnp has several drawbacks for Rain:
finish
packet whenreturn
carries no capabilities capnproto/capnproto#534).Therefore it might be better to use different protocols for different interfaces:
This issue is a basis for discussion of requirements and options. The transition from Capnp is not critical.
The text was updated successfully, but these errors were encountered: