Open gavento opened 6 years ago
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:
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.