Book/Designing Data Intensive Applications (3) 썸네일형 리스트형 [DDIA-II] The trouble with distributed systems 1 Clocks Clock is how many times a quartz (a unit that physically vibrates) has vibrated from a set point in time. NTP is network time protocol that adjusts clocks. We have two kinds of clocks for two different kind of uses, and in both cases, NTP adjusts the clock. However, the clock adjustment strategy is differnet for each. 1. When we have two computers and see which one clicked a button firs.. [DDIS Part II]: Distributed system - Partition Partition is a way to divide large dataset into multiple smaller datasets, such that any record appears in exactly one of such smaller datasets. Then different partitions can be stored in different nodes. This is useful because: - Scalability: request loads can be split to different nodes. The more fairly distributed partitions mean better request load balancing, hence greater scalability. Assum.. [DDIS Part II]: Distributed system - Replication Replication Distributed database can come in two flavours: partition, replication. Replication is where you have multiple copies of database stored on different nodes (machines). Replication achieves: - lower latency (we can distribute database geographically so that access time from all around the world can be minimised) - higher availability (faults can be masked, replacement of faulted machin.. 이전 1 다음