There’s plenty of distributed databases on the market these days. There’s only a few that are both distributed and provide ACID guarantees. In this talk, I’ll be shedding light on some of the more interesting aspects of the internal design of FaunaDB, one such database that I also happen to work on. We’ll look at Calvin, the protocol that ensures deterministic transaction application in a distributed environment with very little coordination (much less than two- or three-phase commit protocols.) We’ll see how we can scale Calvin for throughput. We’ll look at how you can make a distributed transaction system independent of clocks. (It’s never good to have a distributed system depend on clocks for correctness, yet many databases do. This one does not.) We’ll talk about how you can take a correctly operating database and make it fast too with judicious application of control theory: into what points of the system can you plug in either a PID controller or a Kálmán filter to further reduce latencies. We learned (and are still learning) a lot while implementing FaunaDB, and in this talk, we want to share some of what we learned so far with you!
AWESOME LIVEBLOG CONTENT HERE!