3 ms·
But you'd want to allow the client query a snapshot before doing a full sync on the shared log.
by aabbcc1241 5y ago
But you'd want to allow the client query a snapshot before doing a full sync on the shared log.
- mathgladiator 5y agoAbsolutely, this is a key reason why I strongly believe what goes in the log matters. If the log is a list of commands, then you have two representations to contend with: the differential/patch form and then the aggregated state. An area that I'm playing around with is a log reducer which transforms a region within a log into a single item. For instance, if the log entries are just JSON (without arrays) then json merge (RFC 7396) is an example reducer. See http://www.adama-lang.org/blog/json-on-the-brain http://www.adama-lang.org/blog/json-on-the-brain for more detail.
- aabbcc1241 5y agoInteresting approach to reduce or even eliminate the workload of left folding the logs