Avoid using remoting directly and reach for Akka Cluster instead if you 
want to build a distributed system. 

For isolated systems/services/microservices that you want connect a 
separate more explicit protocol (HTTP, gRPC or something along those lines) 
can be a better idea as it make a more clear cut between services and 
avoids the quite complicated task of making sure  each service to have a 
compatible version of Akka, Scala, third party libraries which could 
potentially force you to always deploy a new version of every service every 
time you want to upgrade one of them.

--
Johan
Akka Team

On Friday, December 1, 2017 at 11:50:26 AM UTC+1, Seoras Ashby wrote:
>
> akka remoting is fabulous for exchanging small messages. By default the 
> maximum-frame-size is 128000 bytes and messages larger than that size are 
> logged and dropped with akka.remote.OversizedPayloadException. You can tune 
> maximum-frame-size but you should keep it small since remoting is used for 
> core akka functionality such as cluster heartbeats. Larger messages will 
> hog the channel and cause problems. 
>
> If you have larger messages you either need to break them down into 
> smaller ones or look for an alternative protocol such as akka http or akka 
> streams.
>
> akka.remote.netty.tcp.maximum-frame-size
>
> If you google for 'akka maximum-frame-size' you'll find more background.
>
> Best wishes,
> Seoras
>
> On Friday, December 1, 2017 at 7:09:57 AM UTC, gurpreet....@gmail.com 
> wrote:
>>
>> Guys,
>>
>> i am confused on akka remoting, need some good suggestions w.r.t Akka 
>> Remoting.
>>
>> I have multiple Akka system services running on different Machines, they 
>> are communication each other by using *Akka remoting*.
>> But i saw Akka's documentation, they are suggesting go for *akka-http* 
>> for communication. is it any problem with Akka-Remoting ? , if yes then how 
>> ?
>>
>>
>> Thanks,
>> Gurpreet
>>   
>>
>

-- 
>>>>>>>>>>      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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to