Go is known for its simplicity and its powerful built-in concurrency model. At the heart of this concurrency is the concept of goroutines and the Go scheduler. In this post, we'll explore how the Go scheduler works, what makes goroutines so efficient, and how they are mapped to system threads using Go's N:M scheduling model.
The actor model is a conceptual model to deal with concurrent computation. It defines some general rules for how the system's components should behave and interact with each other.