Re:Actix – Actor Framework for Rust
by brentjanderson on Thursday February 13, 2020 @12:57PM
(#22319787)
Erlang OTP 21.2 introduced the idea of `persistent_term`, which is a data structure any process can read from at the expense of being costly to modify. This provides a nice alternative to locks, since you can have a single actor/process responsible for handling writes (and deciding when to flush those writes, triggering a GC pause on processes depending on the term) but any number of actors reading from that persistent term at full-speed.
[ Parent
| on HN ]
There are no comments on this comment yet.