Description
Discussed in https://github.com/orgs/OpenSimulationInterface/discussions/675
Originally posted by globberwops October 19, 2022
Dear all,
osi_control
and osi_graphics
(and possibly other packages?) will introduce event-based messages into OSI (see project proposal P2022-01 Performance & Packaging WP5 "control messages").
In parallel, there is the ongoing discussion about switching from the current protobuf message description to flatbuffers (see project proposal P2022-01 Performance & Packaging WP1).
Event-based messages would benefit greatly from an RPC (remote procedure call) implementation.
gRPC for example, extends both protobuf and flatbuffers by RPC.
The event-based messages could therefore be defined as gRPC services (example).
The generation of gRPC code could then be made optional in the CMake build, so that users can choose to use plain protobuf/flatbuffers, or additionally the RPC.
On a side note, the original issue also mentions CapnProto, which would add RPC as well.
Regards,
Martin
Martin Stump martin.stump@mercedes-benz.com on behalf of MBition GmbH, Provider Information