Hi Ömer,

it is not recommended to send large messages via the remoting channel.
Mainly because the same channel is used for the heartbeat and other system
messages. If you are able to use milestone versions of akka-stream and
akka-http I would suggest creating an HTTP endpoint where big data
structures can be streamed as JSON. Then one would use remoting to exchange
the address of the reasourse and akka-http to consume it.

On Thu, Mar 19, 2015 at 8:41 AM, Ömer Faruk Gül <[email protected]>
wrote:

> Hi,
>
> What would be the best practice to transfer data (an immutable Map which
> could be of size from 1MB to 100 MB) in between two nodes in a an Akka
> Cluster?
>
> I initially thought of dividing the map into chunks and sending them as a
> message to the new actor living in the other node, is that a good practice,
> or should I try something else?
>
> My immutable variable is this:
>
> var store = Map.empty[String, ByteString]
>
>
>  --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Martynas Mickevičius
Typesafe <http://typesafe.com/> – Reactive
<http://www.reactivemanifesto.org/> Apps on the JVM

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to