Looking to use Akka Actors to communicate events between Java threads in the same JVM. Some of these events contain large objects (10-100Mb). I want to avoid serializing these objects while saving memory space by passing only a reference to the object; does Akka support this? I understand it's possible to implement a custom Akka serializer, and that could be a solution, but beyond that I don't know much else about the framework.
Akka treats local message passing as an optimization, bypassing the remoting machinery which includes the message serializer. See location transparency.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With