Erlang / Erlang Basics Interview questions
What is the actor model in Erlang?
The actor model treats every concurrent unit as an actor: an isolated entity that has its own state, receives messages one at a time from a mailbox, and reacts by updating its own state, sending messages to other actors, or spawning new ones. Erlang's process model is a direct, production-grade implementation of this idea.
Three properties make it work in practice:
- Isolation — no shared mutable state between actors
- Asynchronous messaging — sends never block the sender
- Location transparency — sending to a PID looks the same whether the actor is local or on another node
Because there's no shared memory to lock, there are no mutexes or deadlocks between actors — the classic concurrency bugs of thread-and-lock programming simply don't apply at this level.
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
