3 ms·
> I got especially confused at the actor part, aren't actors share nothing by design? Me as well. I thought actors are a bit like mailboxes that process and se
by Ygg2 11mo ago
> I got especially confused at the actor part, aren't actors share nothing by design?
Me as well. I thought actors are a bit like mailboxes that process and send their messages.
- rdtsc 11mo agoIt’s half-baked actors. Well not baked at all (“no-bake actors”?) as isolated heaps and shared nothing is not easy to accomplish. OS processes can do it but they can be heavyweight. BEAM VM does a great job of it, though.
- surajrmal 11mo agoShare nothing is often too coarse grained serialization for all situations. Using a lock or other shared memory primitive (RCU, hazard pointers, etc) can lead to better performance due to smaller granularity of data protected and latency necessary to access the data. Optimizing for latency is very different from optimizing for throughput.