TIL, 2018-05-13, Byzantine Generals Problem and Other Crypto Things.
Musings, Ruby
- Octopus - Easy Database Sharding for ActiveRecord: Sharding/replication gem.
- Event Sourcing: Also cool.
- Postgres has parallel queries?
Musings, Blockchain/Bitcoin
- Decentralized consensus Decentralized consensus can be chosen to choose highest bids of things. In order to do business, inhabitants have to trust one another. They have no reason to trust one another, because they prioritize their own personal interests. This lack of trust brings the system to a stalemate, where the inhabitants either don’t do business together, or are forced to work in a way where the majority is not truly happy.
- Byzantine Generals’ Problem
- Centralized vs decentralized vs distributed: Centralized: one central authority. Decentralized: multiple servers who receive messages from one central server. Distributed: each node is connected to every other node and has the exact same authority.
- BGP problem: how do you find consensus or make sure that everything is correct? Consensus = agreeing upon every message transmitted in the network.
- Bitcoin and money transfer.
- Cryptocurrency was created so you wouldn’t have to trust any central institution.
- It is easy to transfer bitcoin, but if you need to go back to fiat, it’s slowed by financial institutions. If speed is what you’re after, you just send a wire transfer through your bank.
- Exchange rates make currency conversion expensive, and bitcoin exposes you to them twice.
- The blockchain was created to take over the fiat system.