Re:Microservices and the First Law of Distributed Objects
by lmm on Thursday August 14, 2014 @08:33AM
(#8177104)
What's expensive is shared mutable state. Isolated mutable state is fine - it can live in the place where it's used. Shared immutable state is also fine, as it can be distributed once and then reused as much as you like, and there's no need to worry about keeping all the copies in sync.
Functional programming is all about avoiding shared mutable state, so it does have an advantage here.
Functional programming is all about avoiding shared mutable state, so it does have an advantage here.