akka actor as background of spark