An Introduction to Ractors in Ruby | AppSignal Blog
In computer science, the object-oriented model is very popular, and in the Ruby community, many people are used to the term 'everything is an object'.Similarly, let me introduce you to the actor model, within which 'everything is an actor'. The actor model is a mathematical model of concurrent computation in which the universal primitive/fundamental agent of computation is an actor. An actor is capable of the following:Receiving messages and responding to the senderSending messages to other actorsDetermining how to respond to the next message receivedCreating several other actorsMaking local decisionsPerforming actions (e.g., mutating data in a database).
An Introduction to Ractors in Ruby | AppSignal Blog #ruby #rubydeveloper #rubyonrails #blog