13 Eylül 2021 Pazartesi

Actor Model

Giriş
Actor Model aslında eski bir fikir. Microservice ve cloud computing'den çok daha önce vardı. Açıklaması şöyle
What’s most interesting about the actor model is that, long before there was cloud computing, it was specifically designed for and has been proven to meet the fundamental requirements of multi-cloud applications — concurrency, failover, and scaling.

Şeklen şöyle

Bazı özellikleri şöyle
- Actor instances are reactive and execute rules, logic, and data transformations only when reacting to a message.
- Actor instances are absolutely reentrant and stateless. They react to one message at a time and have no memory of previous messages processed. All data needed to react to a message must be in the message itself or in a persistent datastore.
- Actor instances pass messages to other actor instances when they need them to do something.
- Actor instances publish events when they need to tell interested parties about something.
- An actor instance bounded by one context can pass messages to, or publish events for, actor instances bounded by another context — enabling it to use microservices developed, deployed, and maintained by other teams.




Hiç yorum yok:

Yorum Gönder