On Fri, Jan 22, 2016 at 2:00 PM, 何品 <hepin1...@gmail.com> wrote:

>
>    - *Solution A:* Migrate akka-remote from Netty 3 to 4 and gain 4 times
>    the performance with an effort equivalent to N hours.
>    - //this would not happen, and don't give you 4 times boost
>
> It won't give a performance boost because the slowness is elsewhere.


>    - *Solution B:* Migrate akka-remote from Netty 3 to akka-streams and
>    gain 5 to 6 times the performance with an effort equivalent to 3 x N hours
>    - //hehe,akka-stream will be slower.
>
> I am not sure this is true, at least not in this unqualified manner. All
the drawbacks that affect Akka Http vs. Netty Http are basically irrelevant
in the TCP based remoting case. I am pretty sure that we can do something
quite fast based on streams, coming close to what Netty can do, but with
better maintainability than a pure Netty implementation.

I mean, things like parallelizing message serialization can be as compact
as mapAsync(4)(doSerialize).

-Endre


>
>    -
>    I think akka remoting will need a rework in fact.
>
> --
> >>>>>>>>>> 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.
>



-- 
Akka Team
Typesafe - Reactive apps on the JVM
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 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