Skip to content

Use cereal as the xHAL serialization method

Laurent Petre requested to merge feature/cereal-serialization into develop

Description

This MR replaces the custom xHAL to rpcsvc key serialization method by the cereal library serialization in order to significantly reduce the serialization (from tens of minutes to a few seconds or less). The parameters and return types of RPC methods must be serializable by the cereal library (the standard library containers are extensively supported).

Further improvement will consist in the removal of the ProtoBuf serialization which is now redundant.

Related Issue

Closes #166 (closed).

How Has This Been Tested?

  • Communication is still possible on the GE1/1 integration setup.
  • The S-bit rate scan works on a large-scale setup (p5).

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
Edited by Laurent Petre

Merge request reports