2.2 Spotlight: New Remoting
The remoting layer of Akka has been redesigned from ground up in 2.2. Apart from the internal changes several new features were introduced. Most notably the transport layer is now fully pluggable and new protocols can be added by implementing a simple Transport interface and loading it from configuration. In addition it is now possible to load multiple transports for the same actor system therefore using different communication protocols to interface with other remote systems.
As a result, the remote address format has been changed, so an address of akka://remote-sys:1234 becomes akka.tcp://remote-sys:1234 if the TCP driver is used.
Also important to note that driver specific remoting settings now live inside their driver scoped namspace, particularly the configuration for the default netty TCP driver is under akka.remote.netty.tcp.
Connections are now monitored by a heartbeat driven accrual failure detector which adapts itself to network conditions and can be fine-tuned by configuration – or completely replaced by a user provided implementation.
See the remoting documentation and the migration guide for more information.
Recent comments
Blog comments powered by Disqus1 Notes
hakkers posted this