What are the types of applications / services / components for which the Actors model (Scala, Erlang) is best suited?

Besides the advantages of this model compared to the model with shared memory, I’m just trying to figure out where to use it for cases of higher level use.

+3
source share
2 answers

As for Scala, the Actors model is suitable for most multithreaded cases that you might think about:

  • Swing GUI Application
  • Web applications (see Lift framework)
  • Application server in a multi-core environment:
    • Batch Request / Data Processing
    • Background Tracking Tasks
    • Notifications and Scheduled Tasks

.

+1
  • OTP Framework: .

  • . ( Supervisor OTP).

  • gen_server.

  • , , gen_event.

  • gen_fsm ( ).

  • . .

  • .

  • .

  • .

  • .

  • .

  • .

.... erlang, c/++ .

0

Source: https://habr.com/ru/post/1789019/


All Articles