AKKA (1) Cognition AKKA and cognition akka
Akka is a library written in Scala. It is used to simplify the compilation of fault tolerant and highly scalable Java and Scala Actor model applications. It has been successfully applied in the telecom industry. The system almost never goes down (High Availability 99.9999999% a year only 31 MS goes down ). The Actor model is nothing new. It was proposed by Carl Hewitt in the 1970s s to solve a series of Programming Problems in distributed programming. Its features are as follows: everything in the system can act as an actaggregator completely independent of each other. When a message is received, all actions taken by the Actor are parallel, actions in a method do not have a clear sequence of Actor by the identifier and the current behavior description Actor may be divided into the original (primitive) and non-original (non primitive) CATEGORY non-original Actor identifies the current behavior by a set of knowledge (acquaintances) (instance variables or local status) represented by a mail address) and define the action that the Actor will take when receiving the message to form the message transmission is non-blocking and asynchronous, its mechanism is that all messages in the mail queue (mail-queue) are sent in parallel