News for hackers. Stuff that matters.
Re:Ask HN: How does your development team handle database mi... by liyanchang on Friday May 10, 2019 @06:50PM (#19883006)
Yeah. I’d love to see the academic paper with formalizations that help me understand the true scope of this problem. Your example is a great one that prompts many questions. Is it possible to travel directly to the commit o(1) or will the code have to calculate the diff of each commit and apply them one at a time o(n) and how much definition and dependency mapping humans need to do to have it work correctly?
Re:Ask HN: How does your development team handle database mi... by kd5bjo on Saturday May 11, 2019 @07:45AM (#19885703)
The closest I can think of is trying to define a set of CRDT-compatible operations that are expressive enough to describe your database schema, starting from an empty database. Then, the migration you need to perform is whatever the CRDT merge operator says you need to do.