I would like to transport immutable data between actors like 100MB. It seems not make sense to pass it with messages. Is there any good practice for this scenery?
One way would be to save the data in an external storage (e.g. s3) and send the a reference to its storage locatation in the actor messages.
Some other side channel could also work.
Alternative. Sending the data in a single message is not possible. It would have to be split up in many smaller messages and assembling it again on the receiving side. I started something for doing that automatically, on top of reliable delivery, but havn’t pushed it over the finish line yet. https://github.com/akka/akka/pull/28915
I see. Thanks!