Hi guys. We are migrating our application from akka 2.4 to 2.5 and among 
other there is new remoting available.
The throughput Before switching from netty to artery we decided to compare 
them.

So I created the app with two modules: sender & receiver with 16 remote 
actors spawned by sender on receiver side. 
The finished transmission is that one in which the payload delivered to 
receiver and message id returned to sender.

The tests implemented as a series of messaging batches. Each batch 
consisted of 1000 message transmissions of K bytes (per message).
I tested it with messages of 100 byte, 1000 byte, 10000 byte with different 
idle-cpu-level.
With 100 byte message the artery's throughput looks better than netty's (up 
to 26%), but for the rest it seems that netty beat artery (40% for 1k 
message and 60% for 10k message).

Some info about test execution:
- warm up the system with 50 batches of 100 bytes messages;
- measure the average for 100 batches of 100 bytes messages;
- measure the average for 50 batches of 1000 bytes messages;
- measure the average for 115 batches of 10000 bytes messages;

I tested it on AWS micro instances in different regions.

Is it expected results?

idle-cpu-level is represented as Artery X, e.g. Artery 1
AWS micro instances (singapore ↔ frankfurt)
messages / bytes per message Artery 1 Artery 3 Artery 5 Artery 7 Artery 9 
Artery 
10 Netty
1k / 100 441 400 416 445 466 969 543
1k / 1k 1655 1671 1674 1790 1755 3728 1217
1k / 10k 14005 15237 19142 19463 20833 37539 8565

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

Reply via email to