> 15 jun 2014 kl. 12:40 skrev Akka Team <[email protected]>:
> 
> Hi Matan,
> 
> As Luis pointed out, the configuration that sets the remoting frame-size 
> limit is akka.remote.netty.tcp.maximum-frame-size. If messages exceed this 
> limit they will be dropped and logged. As for checking the size of your 
> messages, you should use a serializer in remoting that allows you to 
> carefully control the size of your messages. Protobuf is quite OK for that 
> but Java serialization is very unpredictable in this regard.

Check out the log-frame-size-exceeding config setting, 
http://doc.akka.io/docs/akka/2.3.3/general/configuration.html#akka-remote

/Patrik
> 
> As for transferring large messages, fragmentation is considered good practice 
> even if we are not talking about Akka. Another option is to open up a 
> dedicated side-channel (e.g. a TCP based server using akka.io) and use it for 
> transferring large amount of data, and use akka remoting as the control 
> channel.
> 
> -Endre
> 
> 
>> On Sat, Jun 14, 2014 at 8:22 PM, Luis Medina <[email protected]> wrote:
>> I can only speak to your first question. The setting you're looking for is: 
>> "akka.remote.netty.tcp.maximum-frame-size". I think by default it's 120000b. 
>> I had to bump up mine. Not sure about your second question.
>> -- 
>> >>>>>>>>>> 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.
> 
> 
> 
> -- 
> Akka Team
> Typesafe - The software stack for applications that scale
> Blog: letitcrash.com
> Twitter: @akkateam
> -- 
> >>>>>>>>>> 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.

-- 
>>>>>>>>>>      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