Processing 10 million messages with Akka | Java Code Geeks
January 11, 2015 7:11 pm Processing 10 million messages with Akka Akka Actors promise concurrency. What better way to simulate that and see if how much time it takes to process 10 million messages using commodity hardware and software without any low level tunings.I wrote the entire 10 million messages processing in Java and the overall results astonished me. When I ran the program on my iMac machine with an intel i5 – 4 core, 4 Gb RAM machine and JVM heap at 1024Mb, the program processed 10 million machines in 23 secs. I ran the program multiple times and the average time was in the range of 25 secs. So the through put I received was almost in the range of 400K messages per second which is phenomenal. The below picture explains the flow used to simulate the load generation scenario. Caveat: Each message sends a response after 1 second which is not the right simulation for a real world scenario.Read full article from Processing 10 million messages with Akka | Java Code Geeks
No comments:
Post a Comment