dplyukhin / UIGC

A garbage collector for Akka actors!
Other
4 stars 2 forks source link

Jackson serialization #42

Open dplyukhin opened 1 year ago

dplyukhin commented 1 year ago

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 commented 8 months ago

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.