HyperDB

Hyper DB a scalable distributed database @ mafintosh 👨 ➡️ 🖥️ 👨 ↩️ 🖥️ 👩 ↩️ 👨 ↩️ 🖥️ 👩 ↩️ 👩 ↩️ 👩 ↩️ 👨 ↩️ 🖥️ 👩 ↩️ 👨 ↩️ 👩 ↩️ 👩 ↩️ 👨 ↩️ 🖥️ 👩 ↩️ 👨 ↩️ 👩 ↩️ 👩 ↩️ 👨 ↩️ 💀 👩 ↩️ 👨 ↩️ Solution: Use more than one server 👩 ↩️ 👩 ↩️ 👨 ↩️ 🖥️+🖥️+🖥️ 👩 ↩️ 👨 ↩️ Each server is a clone of the other ones I.e. they all contain the same data Problem: What happens when new data is written? 👨 key= foo ➡️ 🖥️ 🖥️ 👨 key= foo ➡️ 🖥️ 👩 key= bar ➡️ 🖥️ 👩 key= foo ↩️ 🖥️ 🖥️ 🖥️ 👩 key= bar ↩️ 🖥️ Inconsistency ! Solution: Pick a leader server, and always write to that one You can keep reading from any other one 🖥️ 🖥️ 🖥️🌟 🖥️ 👨 key= foo ➡️ 🖥️🌟 🖥️ 👨 key= foo ➡️ 👍🌟 🖥️ 🖥️🌟 👩 key= bar ➡️ 🖥️ 🖥️🌟 👩 key= bar ➡️ 👎 🖥️🌟 👩 key= bar ➡️ ⤴️ 👍🌟 👩 key= bar ➡️ ⤴️ Leader replicates changes out to all other clo...

Linked on 2017-12-10 14:29:30 | Similar Links