Skip to content
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

Provide proper network communication protocol #5

Open
mklassen opened this issue Jul 14, 2022 · 0 comments
Open

Provide proper network communication protocol #5

mklassen opened this issue Jul 14, 2022 · 0 comments

Comments

@mklassen
Copy link
Owner

Provide a network communication protocol between the client and server.

Justification
Gadgetron depends on the client and server have the exact same architecture and memory layout. Raw memory from the client is sent over the network and interpreted as objects on the server. This will cause problems.

Scenarios
Server and client have different architectures or C++ ABI.

Design and implementation
Overload the SocketStream to implement a translational layer which deserializes messages which were appropriately deserialize onto the network connection by the client. The protocol defines the serialization and deserialization. The deserialized data can then be transformed into the raw memory messages and provided to the gadgetron. This allows upstream to continue development of the client/server without any network protocol, while using the software in a heterogeneous computation environment.

Test Strategy
Describe the test strategy. How will we make sure it works and that it keeps working.

Maintenance
What maintenance issues might there be with this feature and WHO will maintain it ?

Other
Any other important issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant