3 ms·
> Isn't a database global mutable state? Or a filesystem? Yes. > If global, mutable state is considered problematic when programming in the small (i.e. single
by lmm 9y ago
> Isn't a database global mutable state? Or a filesystem?
Yes.
> If global, mutable state is considered problematic when programming in the small (i.e. single program), why is it unquestioned when building much larger, more complicated systems that we also need to reason about?
It is, and should be, considered problematic. The filesystem can mostly be avoided. The database should probably be rebuilt into something that's easier to reason about. See e.g. https://www.confluent.io/blog/turning-the-database-inside-out-with-apache-samza/ https://www.confluent.io/blog/turning-the-database-inside-ou...