What is Akka in Scala?

devquora
devquora

Posted On: Feb 22, 2018

 

Akka in Scala is a toolkit and runtime for building highly concurrent, distributed, and fault-tolerant applications on the JVM and is written in Scala, with language bindings provided for both Scala and Java. Akka’s approach to handling concurrency is based on the Actor Model. In an actor-based system, everything is an actor, in much the same way that everything is an object in object-oriented design. A key difference, though – particularly relevant to our discussion – is that the Actor Model was specifically designed and architected to serve as a concurrent model whereas the object-oriented model is not or in other words, in a Scala actor system, actors interact and share information, without any presupposition of sequentiality. The mechanism by which actors share information, and task one another, is message passing.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Scala interview questions

    What do you mean by a Scala map?

    The collection of key-value pairs where the key can retrieve the values present in a map is known as a scala map. The k..

    Scala interview questions

    List the advantages of using scala over other functional programming languages.

    Some of the advantages due to which scala is preferred over other functional programming languages are listed below: As..

    Scala interview questions

    Tell the advantages of companion objects when used in Scala?

    Instead of having static methods or variables, scala has singleton or companion objects. These objects are then compile..