Does Akka support embedded messaging without serializing objects?

Looking to use Akka Actors to pass events between Java threads in one JVM. Some of these events contain large objects (10-100 MB). I want to avoid serializing these objects while preserving memory space by passing only a reference to the object; Does Akka support this? I understand that implementing a custom Akka serializer, and this may be a solution, but apart from that, I don't know anything else about the structure.

+6
source share
1 answer

Akka considers the local message passing as optimization, bypassing the remote device, which includes a message serializer. See location transparency .

+6
source

Source: https://habr.com/ru/post/958522/


All Articles