Hi guys,

I currently working on replacing the old rpc infrastructure with an akka
based actor system. In the wake of this change I will reimplement the
JobManager and TaskManager which will then be actors. Akka offers a Java
API but the implementation turns out to be very verbose and laborious,
because Java 6 and 7 do not support lambdas and pattern matching. Using
Scala instead, would allow a far more succinct and clear implementation of
the JobManager and TaskManager. Instead of a lot of if statements using
instanceof to figure out the message type, we could simply use pattern
matching. Furthermore, the callback functions could simply be Scala's
anonymous functions. Therefore I would propose to use Scala for these two
systems.

The Akka system uses the slf4j library as logging interface. Therefore I
would also propose to replace the jcl logging system with the slf4j logging
system. Since we want to use Akka in many parts of the runtime system and
it recommends using logback as logging backend, I would also like to
replace log4j with logback. But this change should inflict only few changes
once we established the slf4j logging interface everywhere.

What do you guys think of that idea?

Best regards,

Till

Reply via email to