ddia
12 posts, 408 min of reading. Spans show reading time on a 0 to 70 min scale.
DDIA Reading Notes 12: The Future of Data Systems
Notes on the last chapter of Designing Data-Intensive Applications, first edition: why combining data systems should rely on derived data rather than distributed transactions, what unbundling databases means, how to guarantee correctness in asynchronous dataflows, and what responsibility the people who build data systems owe their users.
Reading time: 27 minDDIA Reading Notes 11: Stream Processing
Notes on Chapter 11 of Designing Data-Intensive Applications, first edition: how traditional message brokers differ from log-based ones, how change data capture and event sourcing turn a database into a stream, how stream processing handles time, windows, and joins, and how to achieve exactly-once semantics when things fail.
Reading time: 26 minDDIA Reading Notes 10: Batch Processing
Notes on Chapter 10 of Designing Data-Intensive Applications, first edition: how the design of Unix pipes scales to thousands of machines, how MapReduce brings related data together for joins and grouping, why batch processing should output immutable datasets, and what dataflow engines like Spark and Flink improve.
Reading time: 28 minDDIA Reading Notes 09: Consistency and Consensus
Notes on Chapter 9 of Designing Data-Intensive Applications, first edition: what linearizability guarantees and what it costs, how causal order differs from total order, why total order broadcast is equivalent to consensus, why two-phase commit can get stuck, and what consensus algorithms and coordination services like ZooKeeper can do.
Reading time: 24 minDDIA Reading Notes 08: The Trouble with Distributed Systems
Notes on Chapter 8 of Designing Data-Intensive Applications, first edition: networks drop packets and delay them indefinitely, clocks drift and jump, processes pause anywhere; in such an environment, what a node can know, whom it should trust, and how to reason about algorithm correctness with system models.
Reading time: 19 minDDIA Reading Notes 07: Transactions
Notes on Chapter 7 of Designing Data-Intensive Applications, first edition: what each letter of ACID actually promises, which races read committed and snapshot isolation block and which they miss, why write skew and phantoms are hard to prevent, and three ways to implement serializability.
Reading time: 20 minDDIA Reading Notes 06: Partitioning
Notes on Chapter 6 of Designing Data-Intensive Applications, first edition: the strengths and hot-spot problems of partitioning by key range and by hash of key, how secondary indexes are partitioned, how to rebalance when adding or removing nodes, and how requests find the partition they need.
Reading time: 33 minDDIA Reading Notes 05: Replication
Notes on Chapter 5 of Designing Data-Intensive Applications, first edition: how single-leader, multi-leader, and leaderless replication work, what anomalies replication lag can cause, what quorums can and cannot guarantee, and how to tell whether two writes happened one before the other or were concurrent.
Reading time: 70 minDDIA Reading Notes 04: Encoding and Evolution
Notes on Chapter 4 of Designing Data-Intensive Applications, first edition: how JSON, Thrift, Protocol Buffers, and Avro encode data into bytes, how schemas evolve so old and new code can read each other, and what compatibility data needs as it flows through databases, service calls, and message passing.
Reading time: 45 minDDIA Reading Notes 03: Storage and Retrieval
Notes on Chapter 3 of the first edition of Designing Data-Intensive Applications: how hash indexes, SSTables and LSM-trees, and B-trees store data on disk and find it again, the costs of the two families of storage engines, and why data warehouses turn to column-oriented storage.
Reading time: 52 minDDIA Reading Notes 02: Data Models and Query Languages
Notes on Chapter 2 of Designing Data-Intensive Applications, first edition: what kinds of data suit the relational and document models, why declarative queries win, and the property graph, triple-store, and Datalog graph models.
Reading time: 42 minDDIA Reading Notes 01: Reliable, Scalable, and Maintainable Applications
Notes on Chapter 1 of the first edition of Designing Data-Intensive Applications: the difference between faults and failures, how to discuss scalability with load parameters and response time percentiles, and the three aspects of maintainability.
Reading time: 22 min