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

Jackson serialization #42

Open
dplyukhin opened this issue Aug 26, 2023 · 1 comment
Open

Jackson serialization #42

dplyukhin opened this issue Aug 26, 2023 · 1 comment
Labels
CRGC good first issue Good for newcomers

Comments

@dplyukhin
Copy link
Owner

CRGC has a few data structures that need to be transferred between nodes. Right now, it uses Java's default serialization - which is both slow and unsafe.

First steps: Learn about Jackson serialization in Akka. Write a simple Akka Cluster application that uses Jackson serialization for messages.

@dplyukhin dplyukhin added good first issue Good for newcomers CRGC labels Aug 26, 2023
@dplyukhin
Copy link
Owner Author

dplyukhin commented Jan 15, 2024

One nice thing we can do with this project is simplifying DeltaGraphs. Right now, a DeltaGraph has a compression table mapping ActorRefs to short integers. This is good for making the serialized size small, but it's an implementation detail that the users of DeltaGraph (i.e. ShadowGraph and UndoLog) shouldn't have to know about. We could simplify DeltaGraph by making the compression table a part of the custom serializer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CRGC good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant