substantic / rain

Framework for large distributed pipelines
https://substantic.github.io/rain/docs/
MIT License
748 stars 54 forks source link

Replace capnp with another protocol #11

Open gavento opened 6 years ago

gavento commented 6 years ago

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.

gavento commented 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.

gavento commented 6 years ago

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.

gavento commented 6 years ago

Keeping open to track progress.