News for hackers. Stuff that matters.
Re:There's Just No Getting Around It: You're Building a Dist... by stcredzero on Thursday April 27, 2017 @04:41PM (#14214509)
This horizontal scale-out is not a distributed system, since consensus ("source of truth") still lives in one machine.

I think this is a key idea, though my experience with it only comes from writing game servers. Things are much simpler when there is a single "source of truth" per user. In my system, there is an "active" state maintained in an "instance" where the user is rapidly updated in memory, and a "persisted" state stored to the database when a user joins an instance. This keeps the frequency of database writes down. (And enables many users to be able to interact with each other in realtime.)

There are no comments on this comment yet.