I know the saying: make it work *-and correct-* and then make it fast. But 3ms for 3 JVMs *-2 hops -> Message going from A to B and then to C-* running on localhost host is ridiculously slow, I mean, I'm using other API that transmits FIX messages *-financial industry-* from a high speed network *-no high speed network should be faster than localhost-*
Even a JDBC legacy connection not written with "Java Concurrency in Practice" *-I also read the book and I have created all sort of high performance concurrent pieces of code for different uses and I'm very aware of context switches, etc etc-,* and I can keep going, for example. Riak which is written in Erlang and Erlang which is around 5 times slower than a JVM and still can perform better than 3ms and Akka cluster supposedly copied the same philosophy for its actor model and yet everybody keeps telling me is not possible to perform faster than that? is it bizarre what I'm expecting? I honestly don't care if akka-remote comes up with a better solution in a year from now as long as it is possible TBH. Please don't misunderstand my tone, know that I advocated for Akka vs Vert.x 10 months ago and scratched a project and wrote it completely from scratch, the project has been successful so far but next phase will require more speed, I would write another extension myself if I knew Scala TBH, as we speak I'm slowly learning Scala but I'm also the only developer at my company so my queue is quite full of things to do in order to keep the project going and keep my job. If my tone sounded wrong to you please let me tell you, it is the tone of a desperate man :( On Saturday, January 23, 2016 at 6:33:47 AM UTC, 何品 wrote: > > yes,akka-stream based will give us more control,and I think that's is more > important than performance,because it means how stable akka-cluster will be. > > 在 2016年1月22日星期五 UTC+8下午9:23:03,Akka Team写道: >> >> >> >> On Fri, Jan 22, 2016 at 2:00 PM, 何品 <[email protected]> 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 [email protected]. >>> To post to this group, send email to [email protected]. >>> 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
