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

Replace internal serialization framework in Agent #431

Open
1 task
emerkle826 opened this issue Nov 21, 2023 · 0 comments
Open
1 task

Replace internal serialization framework in Agent #431

emerkle826 opened this issue Nov 21, 2023 · 0 comments

Comments

@emerkle826
Copy link
Contributor

emerkle826 commented Nov 21, 2023

Issue:

In the Agent part of Management API (the code that gets embedded within the JVM process running Cassandra/DSE), database management operations are exposed by a Remote Procedure Call (RPC) design where the Agent operations consume and produce Objects that are serializable via Cassandra's TypeSerializer.

However, using Cassandra's serialization severely limits the Object structures the Agent can consume/produce. This sometimes leads to implementing new capabilities where complex data has to be written as a JSON string, which unnecessarily throws away type safety/checking.

It would be ideal to use an off-the-shelf serialisation framework (e.g. Jackson or similar) to pass data between the agent and server. We posit that this will be more performant, allow better typing (leading to improvements to productivity, self-documentedness, and safety) and be more secure.

Definition of Done

  • Replace the internal Object serialization with a framework that allows for more complex data structures for the RPC inputs/outputs.

┆Issue is synchronized with this Jira Story by Unito
┆Issue Number: MAPI-15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: No status
Development

No branches or pull requests

1 participant