# Takeways

1. [MapReduce](/tech/mapreduce.md)
   1. Simple interface to hide the complexity of mass parallelism, fault tolerance, scale, etc.
   2. Data and computation are on the same cluster. You try to run jobs on the same machines where you have the data.
2. [GFS](/tech/gfs.md)
   1. Filesystem-like interface but not exactly.
   2. Purpose-built for their use cases. They can afford a lot of weirdness (e.g. non-idential replicas) because of this.
   3. Replicate data.
   4. Consistency -> Poor performance.
3. [Primary-Backup Replication](/courses/mit-6.824-distributed-systems/primary-backup-replication.md)
   1. Represent a VM as a state machine.
   2. Make it fully deterministic.
   3. Apply actions to the replica and the backup.
4. Raft
   1. Replicate the log across peers.
   2. Elect leader.
   3. Consistency guarantees through a clever scheme.
   4. Requires a majority for anything. Two different majorities always overlap, so can't overwrite something.
   5. Reply to the client only when committed.
   6. Any application, like KV server, is built on top.
   7.
5. [Object Storage on CRAQ](http://nil.csail.mit.edu/6.824/2020/papers/craq.pdf)
   1. Can do chain replication.
   2. Leader handles writes.
   3. The last node in the chain handles reads.
6. [Aurora](/courses/mit-6.824-distributed-systems/aurora.md)
   1. Decouple storage from the rest.
   2. Only replicate the log. This way, drastically reduce the network traffic.
7. [Cache Consistency: Frangipani](/courses/mit-6.824-distributed-systems/cache-consistency-frangipani.md)
   1. Can cache local operations.
   2. Achieve cache coherence with clever locking.
   3. Only write when releasing a lock.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.ainzzorl.lol/courses/mit-6.824-distributed-systems/takeways.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
