Artery and IPC

35 views
Skip to first unread message

Christopher Hunt

unread,
Oct 27, 2017, 8:38:22 PM10/27/17
to Akka User List
Hi there

I’m thinking of using Akka cluster in a single machine style scenario (low powered router), so that I can use distributed pub/sub across processes in particular. I see that Aeron supports IPC as a transport, but Akka’s Artery doesn’t appear to be able to utilise it - I could be misreading the reference config though.

Has any consideration been given to supporting the other non-UDP Aeron transports within Akka Artery?

Cheers
C

Patrik Nordwall

unread,
Oct 29, 2017, 3:38:54 PM10/29/17
to akka...@googlegroups.com
Hi Christopher,

Aeron IPC is currently not supported, but I found it interesting to see if it works so I tried it. Had to change a few small things. Of course I was curious about the performance. No difference for small messages (100 bytes), but for 10kB messages it has higher throughput 1100 MB/s with ipc vs 320 MB/s with upd on my laptop. This is with actor messages (MaxThroughputSpec), not raw Aeron.

I would have to verify more before promising that we will support it.

Cheers,
Patrik

C

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



--

Patrik Nordwall
Akka Tech Lead
Lightbend -  Reactive apps on the JVM
Twitter: @patriknw

Christopher Hunt

unread,
Oct 29, 2017, 4:14:17 PM10/29/17
to akka...@googlegroups.com
Thanks Patrik. 

I imagine that most savings will come in the area of establishing a connection as this is completely bypassed with IPC of course. 

As an aside, perhaps a functional advantage to supporting IPC is security though as you can leverage OS permissions. 

Cheers 
C
You received this message because you are subscribed to a topic in the Google Groups "Akka User List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/akka-user/XimVIC_KvMA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to akka-user+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages