目录
正在加载目录…
正在阅读专栏 分布式共识系统专栏 第 10 篇 · 共 59 篇 · 17%

MIT 6.5840:Lecture 01 Introduction

发布于 2026-09-21 10:05 · 最后编辑于 2026-09-21 18:14 · 版本 v2 · 字数 13,819 · 预计阅读 28 分钟 👁 25 次阅读

MIT 6.5840:Lecture 01 Introduction

本篇逐行译注 MIT 6.5840 Spring 2026 Lecture 1,先建立 distributed systems 的问题边界,再用 MapReduce 展示 fault tolerance、consistency、performance 和 implementation trade-offs 如何同时出现。

TL;DR

  • 课程研究对象:不是某个单独的网络服务,而是隐藏 distribution complexity 的 infrastructure,包括 storage、communication 和 computation。
  • 分布式系统难在哪里:concurrency、复杂交互、性能瓶颈和 partial failure 会同时出现;fault tolerance、consistency 与 performance 往往互相牵制。
  • 课程组织方式:lecture 讨论论文和上下文,paper 提供原始设计与评估,lab 把技术落成可测试的分布式程序。
  • MapReduce 的抽象:程序员只写 Map() 和 Reduce(),框架负责 task scheduling、shuffle、load balancing、worker recovery 和输出组织。
  • MapReduce 的边界:它只支持 batch 的 Map → shuffle → Reduce 模式;应用不能依赖步骤间的任意交互、共享状态或实时处理。

名词解释

名词含义本文对应物
Infrastructure为上层应用提供通用能力的系统基础设施storage、RPC、transaction system、MapReduce
Partial failure部分节点或网络失效,但其余系统仍在运行worker crash、network bottleneck、coordinator failure
Replication在多个节点保存副本,以便故障时继续服务GFS 的数据副本、Raft 的 replicated log
Consistency对并发或分布式操作规定可观察的行为read(x) 是否得到最近一次 write(x)
Shuffle将 Map 输出按 key 重新分组并发送给 ReduceMap worker 到 Reduce task 的中间数据传输
Straggler速度显著落后的 worker 或 taskMapReduce 为最后少数 task 启动备份副本

目录

章节内容
版本与来源固定课程版本和原始 Lecture 1
原文逐行翻译按官方纯文本讲义顺序翻译
课程结构lecture、paper、lab 和 project 的关系
主要主题infrastructure、fault tolerance、consistency 和 performance
MapReduce 案例课程第一个系统案例及其设计取舍
本篇验收源码行数、代码块和图片结论

版本与来源

  • 课程版本:MIT 6.5840 Spring 2026。
  • 原始文件:Lecture 1: Introduction。
  • 固定源文件:l01.txt,316 行,SHA-256:57d5008ec0adfe7d9f13d2684347ae52189a4890fd563dbeacfbe0dc504b110e。
  • 翻译边界:英文源行按原顺序保留,随后给出中文译文;代码、ASCII 示意和课程专有名词不强行汉化。
  • 图片结论:该纯文本讲义没有独立图片文件;原文中的 [diagram: ...] 文字占位和 MapReduce ASCII 示意均保留在原位置。

原文逐行翻译

标题与分布式系统定义

6.5840 2026 Lecture 1: Introduction

6.5840 2026 年 Lecture 1:Introduction(导论)。

6.5840: Distributed Systems Engineering

6.5840:Distributed Systems Engineering(分布式系统工程)。

A "distributed system":

“分布式系统”是:

a group of computers cooperating to provide a service

一组相互协作、共同提供某项服务的计算机。

Examples:

例子:

popular apps' back-ends, e.g. for messaging

热门应用的后端,例如即时消息系统的后端。

big web sites

大型网站。

cloud providers

云服务提供商。

Focus here is distributed infrastructure:

本课程关注的是 distributed infrastructure(分布式基础设施):

storage

存储。

transaction systems

事务系统。

"big data" processing frameworks

“big data”处理框架。

Hard to build:

这类系统很难构建,原因包括:

concurrency

并发。

complex interactions

复杂交互。

performance bottlenecks

性能瓶颈。

partial failure

部分故障。

Why useful?

为什么有用?

to increase capacity via parallel processing

通过并行处理提高容量。

to tolerate faults via replication

通过 replication 容忍故障。

to match distribution of physical devices e.g. sensors

匹配物理设备的分布,例如传感器的分布。

to increase security via isolation

通过隔离提高安全性。

Why take this course?

为什么学习这门课?

interesting -- hard problems, powerful solutions

有趣——问题很难,但解决方案很强大。

big demand -- driven by the rise of big Web sites

需求很大——大型 Web 站点的兴起推动了这种需求。

active research area -- important unsolved problems

这是活跃的研究领域——其中仍有重要的未解决问题。

challenging -- the labs

具有挑战性——尤其是 labs。

课程结构

COURSE STRUCTURE

课程结构。

http://pdos.csail.mit.edu/6.5840

课程网址:http://pdos.csail.mit.edu/6.5840。

Course staff:

课程工作人员:

Frans Kaashoek and Robert Morris, lecturers

讲师 Frans Kaashoek 和 Robert Morris。

Baltasar Dinis, TA

助教 Baltasar Dinis。

Ayana Alemayehu, TA

助教 Ayana Alemayehu。

Upamanyu Sharma, TA

助教 Upamanyu Sharma。

Yun-Sheng Chang, TA

助教 Yun-Sheng Chang。

Danny Villanueva, TA

助教 Danny Villanueva。

Brian Shi, TA

助教 Brian Shi。

Nour Massri, TA

助教 Nour Massri。

Beshr Islam Bouli, TA

助教 Beshr Islam Bouli。

Lectures:

Lectures:

paper discussion, context, lab guidance

讨论 paper、介绍上下文,并提供 lab 指导。

Papers:

Papers:

one per lecture

每次 lecture 对应一篇。

research papers, some classic, some new

这些是研究论文,有些是经典论文,有些是新论文。

ideas, problems, implementation details, evaluation

论文涉及 ideas、problems、implementation details 和 evaluation。

please read papers before class!

请在上课前阅读论文!

web site has a question about each paper

网站上为每篇论文准备了一个问题。

submit your answer before start of lecture

请在 lecture 开始前提交答案。

optionally, submit a question for us

你也可以选择向课程组提交一个问题。

Exams:

考试:

Mid-term exam in class

期中考试在课堂上进行。

Final exam during finals week

期末考试在 finals week 进行。

papers, lectures, and labs

考试范围包括 papers、lectures 和 labs。

You must attend the exams!

你必须参加考试!

Labs:

Labs:

goal: deeper grasp of some important techniques

目标之一:更深入地掌握一些重要技术。

goal: experience with distributed programming

目标之二:获得分布式编程经验。

first lab is due a week from Friday

第一个 lab 在下周五截止。

one per week after that for a while

之后的一段时间内,大约每周完成一个。

Lab 1: distributed big-data framework (like MapReduce)

Lab 1:分布式 big-data framework(类似 MapReduce)。

Lab 2: client/server vs unreliable network

Lab 2:client/server 与不可靠网络。

Lab 3: fault tolerance using replication (Raft)

Lab 3:使用 replication 实现 fault tolerance(Raft)。

Lab 4: a fault-tolerant database

Lab 4:容错数据库。

Lab 5: scalable database performance via sharding

Lab 5:通过 sharding 提高数据库性能的可扩展性。

We grade the labs using a set of tests

我们使用一组测试为 labs 评分。

we give you all the tests; none are secret

所有测试都会提供给你;没有隐藏测试。

Optional final project at the end, in groups of 2 or 3.

课程末尾有一个可选的 final project,由 2 或 3 人组队完成。

The final project substitutes for Lab 5.

final project 可以替代 Lab 5。

You think of a project and clear it with us.

你提出一个项目构想,并与课程组确认。

Code, short write-up, demo on last day.

交付内容包括代码、简短说明,并在最后一天进行 demo。

Warning: debugging the labs can be time-consuming

注意:调试 labs 可能非常耗时。

start early

请尽早开始。

ask questions on Piazza

在 Piazza 上提问。

TA office hours

参加 TA 的 office hours。

主要主题

MAIN TOPICS

主要主题。

This is a course about infrastructure.

这是一门关于 infrastructure 的课程。

  • Storage.
  • Storage(存储)。
  • Communication.
  • Communication(通信)。
  • Computation.
  • Computation(计算)。

A big goal: hide the complexity of distribution from applications.

一个重要目标是:把 distribution 的复杂性隐藏在应用程序之下。

Fault tolerance

Topic: fault tolerance

主题:fault tolerance。

1000s of servers, big network -> constant failures

数千台服务器和大型网络意味着故障会不断发生。

We'd like to hide these failures.

我们希望把这些故障隐藏起来。

"High availability": service continues despite failures

“High availability(高可用性)”:即使发生故障,服务仍能继续运行。

Big idea: replication.

核心思想:replication。

If one server crashes, can proceed using the other(s).

如果一台服务器崩溃,就使用其他服务器继续运行。

Consistency

Topic: consistency

主题:consistency。

General-purpose infrastructure needs well-defined behavior.

通用基础设施需要定义清晰的行为。

E.g. "read(x) yields the value from the most recent write(x)."

例如:“read(x) 返回最近一次 write(x) 写入的值。”

Guaranteeing specified behavior is hard!

保证这种规定好的行为非常困难!

e.g. "replica" servers are hard to keep identical.

例如,很难让多个“replica”服务器始终保持相同。

Performance

Topic: performance

主题:performance。

A common goal: scalable throughput

一个常见目标是可扩展的 throughput。

Nx servers -> Nx total throughput via parallel CPU, RAM, disk, net.

N× 台服务器可以通过并行使用 CPU、RAM、磁盘和网络,获得 N× 的总 throughput。

Scaling gets harder as N grows

随着 N 增大,扩展会越来越困难。

e.g. load imbalance.

例如,load imbalance(负载不均衡)。

Trade-offs

Topic: tradeoffs

主题:trade-offs。

Fault-tolerance, consistency, and performance are enemies.

Fault-tolerance、consistency 和 performance 彼此存在冲突。

Fault tolerance and consistency require communication

Fault tolerance 和 consistency 都需要通信。

e.g., send data to backup server

例如,把数据发送给 backup server。

e.g., check if cached data is up-to-date

例如,检查缓存数据是否是最新的。

but communication is often slow and hard to scale up

但通信往往很慢,而且难以随规模扩展。

Many designs sacrifice consistency to gain speed.

许多设计会牺牲 consistency 来换取速度。

e.g. read(x) might *not* yield the latest write(x)!

例如,read(x) 可能不会返回最近一次 write(x) 的结果!

Painful for application programmers (or users).

这会让应用程序员(或用户)非常痛苦。

We'll see many consistency/performance design points.

我们会看到许多在 consistency 与 performance 之间做出取舍的设计点。

Implementation

Topic: implementation

主题:implementation。

RPC, threads, concurrency control.

RPC、threads、concurrency control。

The labs...

以及 labs 中的实际实现。

MapReduce 案例

CASE STUDY: MapReduce

案例研究:MapReduce。

Let's talk about MapReduce (MR)

下面讨论 MapReduce(MR)。

a good illustration of 6.5840's main topics

它很好地展示了 6.5840 的主要主题。

hugely influential

它产生了极其深远的影响。

the focus of Lab 1

它是 Lab 1 的重点。

背景与目标

Context: multi-hour computations on multi-terabyte data-sets

背景:对 multi-terabyte 数据集执行持续数小时的计算。

e.g. build search index, or sort, or analyze structure of web

例如构建搜索索引、排序,或分析 Web 的结构。

only practical with 1000s of computers

只有使用数千台计算机,这些任务才具有实际可行性。

A big goal: easy for non-specialist programmers

一个重要目标是让非 specialist programmer 也能使用它。

programmer just defines Map and Reduce functions

程序员只需要定义 Map 和 Reduce 函数。

often simple sequential code

这些函数通常只是简单的 sequential code。

MR manages, and hides, all aspects of distribution!

MR 管理并隐藏 distribution 的所有方面!

MR is a framework / library; "application" is just Map()/Reduce()

MR 是一个 framework / library;所谓“application”就只是 Map() / Reduce()。

MapReduce 作业的抽象视图

Abstract view of a MapReduce job -- word count

MapReduce 作业的抽象视图——word count。

text
  Input1 -> Map -> a,1 b,1
  Input2 -> Map ->     b,1
  Input3 -> Map -> a,1     c,1
                    |   |   |
                    |   |   -> Reduce -> c,1
                    |   -----> Reduce -> b,2
                    ---------> Reduce -> a,2

上面的示意表达了 word-count 的数据流:多个输入片段分别经过 Map,产生中间的 key/value 对;相同 key 的 values 被聚集后交给对应的 Reduce。

  1. input is (already) split into M pieces

1)输入已经被拆成 M 个片段。

  1. MR calls Map() for each input split, produces list of k,v pairs

2)MR 为每个输入片段调用 Map(),产生一组 k,v 对。

 "intermediate" data

这些是“intermediate”数据。

 each Map() call is a "task"

每次 Map() 调用都是一个“task”。

  1. when Maps are done,

3)当所有 Maps 完成后,

 MR gathers all intermediate v's for each k,

MR 收集每个 k 对应的全部 intermediate v,

 and passes each key + values to a Reduce call

并把每个 key 及其 values 传给一次 Reduce 调用。

  1. final output is set of <k,v> pairs from Reduce()s

4)最终输出是各次 Reduce() 产生的 <k,v> 对集合。

Word-count 代码

Word-count code

Word-count 代码:

text
  Map(d)
    chop d into words
    for each word w
      emit(w, "1")
  Reduce(k, v[])
    emit(len(v[]))

Map(d) 把文档 d 拆成单词,并为每个单词 w 发送 (w, "1");Reduce(k, v[]) 统计 key k 收到的 values 数量,并发送 len(v[])。

扩展性与隐藏的复杂度

MapReduce scales well:

MapReduce 具有良好的扩展性:

N "worker" computers (might) get you Nx throughput.

N 台 worker 计算机可能带来 N× 的 throughput。

Maps()s can run in parallel, since they don't interact.

由于各个 Maps 之间没有交互,它们可以并行运行。

Same for Reduce()s.

Reduce 也是如此。

Thus more computers -> more throughput -- very nice!

因此,更多计算机意味着更高 throughput——非常理想!

MapReduce hides much complexity:

MapReduce 隐藏了大量复杂性:

sending map+reduce code to servers

把 map 和 reduce 代码发送到服务器。

tracking which tasks have finished

跟踪哪些 tasks 已经完成。

"shuffling" intermediate data from Maps to Reduces

把 intermediate data 从 Maps “shuffling”到 Reduces。

balancing load over servers

在服务器之间平衡负载。

recovering from crashed servers

从崩溃的服务器中恢复。

MapReduce 的限制

To get these benefits, MapReduce restricts applications:

为了获得这些收益,MapReduce 对应用程序施加了限制:

Only one pattern (Map -> shuffle -> Reduce).

只有一种模式:Map → shuffle → Reduce。

No interaction or state (other than via intermediate output).

不能有交互或状态(通过 intermediate output 进行的交互除外)。

Only batch: no real-time or streaming processing.

只有 batch 处理:不支持 real-time 或 streaming processing。

存储与 shuffle

Some details (paper's Figure 1)

一些细节(论文 Figure 1)。

Input and output are stored on the GFS cluster file system

输入和输出存储在 GFS cluster file system 上。

MR needs huge parallel input and output throughput.

MR 需要极高的并行输入和输出 throughput。

GFS splits files over many servers, many disks, in 64 MB chunks

GFS 把文件拆成 64 MB 的 chunks,分布到许多服务器和许多磁盘上。

Maps read in parallel

Maps 并行读取。

Reduces write in parallel

Reduces 并行写入。

GFS replicates data on 2 or 3 servers, for fault tolerance

GFS 把数据复制到 2 或 3 台服务器上,以实现 fault tolerance。

GFS is a big win for MapReduce

GFS 对 MapReduce 是一个很大的助力。

MR writes Map() output to local disk

MR 把 Map() 输出写入本地磁盘。

MR splits into files by hash(key) mod R

MR 按 hash(key) mod R 把输出拆分成文件。

each "hash bucket" contains multiple keys

每个“hash bucket”包含多个 keys。

The map workers all hash the same way

所有 map workers 都使用同样的 hash 方式。

The shuffle

shuffle 阶段:

each Reduce task processes one hash bucket

每个 Reduce task 处理一个 hash bucket。

MR fetches each Reduce tasks' bucket from every Map worker

MR 从每个 Map worker 获取每个 Reduce task 所需的 bucket。

merge, sort by key, call Reduce() for each key

随后 merge,并按 key 排序,再为每个 key 调用 Reduce()。

each Reduce task writes a separate output file on GFS

每个 Reduce task 在 GFS 上写入一个独立的输出文件。

The "Coordinator" manages all the steps in a job.

“Coordinator”管理一个 job 的全部步骤。

tracks state of each task

它跟踪每个 task 的状态。

hands out tasks to worker machines

它把 tasks 分配给 worker machines。

性能瓶颈与网络代价

What will limit performance?

什么会限制 performance?

We care since that limit is the thing to optimize.

我们关心这个问题,因为瓶颈正是需要优化的对象。

CPU? memory? disk? network?

是 CPU、memory、disk,还是 network?

In 2004 authors were limited by network speed.

2004 年,论文作者受到 network speed 的限制。

What does MR send over the network?

MR 通过网络发送什么?

Maps read input from GFS.

Maps 从 GFS 读取输入。

Reduces fetch Map intermediate output.

Reduces 获取 Map 的 intermediate output。

  Often as large as input, e.g. for sorting.

这些数据通常和输入一样大,例如排序任务就是如此。

Reduces write output files to GFS.

Reduces 把输出文件写入 GFS。

How fast was the paper's network?

论文中的网络有多快?

Section 5.1: 1800 machines, two-level switched network

Section 5.1:1800 台机器,使用 two-level switched network。

[diagram: root switch, 2nd level of switches, machines]

[示意图:root switch、第二层 switches 和 machines。]

each switch must have had ~42 ports (square root of 1800)

每个 switch 大约需要 42 个 ports(1800 的平方根)。

MR's shuffle requires every worker to fetch data from every other

MR 的 shuffle 要求每个 worker 从其他所有 worker 获取数据。

Only 1/42nd stays in local switch

只有 1/42 的数据会留在本地 switch 内。

So MR's shuffle sends most data through root switch.

因此,MR 的 shuffle 会把大部分数据发送经过 root switch。

Paper's root switch: 100 to 200 gigabits/second, total

论文中的 root switch 总带宽为每秒 100 到 200 gigabits。

1800 machines, so ~55 megabits/second/machine.

在 1800 台机器下,相当于每台机器约每秒 55 megabits。

55 is small: less than disk or RAM speed.

55 很小:低于磁盘或 RAM 的速度。

局部性与网络传输

How does MR minimize network use?

MR 如何减少网络使用?

Coordinator tries to run each Map task on GFS server that stores its input.

Coordinator 会尝试在保存输入数据的 GFS server 上运行对应的 Map task。

All computers run both GFS and MR workers

所有计算机同时运行 GFS 和 MR workers。

So Map input is usually read from GFS data on local disk, not over network.

因此,Map 输入通常从本地磁盘上的 GFS 数据读取,而不是通过网络读取。

Intermediate data goes over network just once.

Intermediate data 只经过网络一次。

Map worker writes to local disk.

Map worker 写入本地磁盘。

Reduce workers read from Map worker disks over the network.

Reduce workers 通过网络从 Map worker 的磁盘读取数据。

(Storing it in GFS would require at least two trips over the network.)

(如果把它存入 GFS,至少需要两次网络传输。)

负载均衡

How does MR get good load balance?

MR 如何获得良好的 load balance?

Why do we care about load balance?

为什么要关心 load balance?

If one server has more work than others, or is slower,

如果某台服务器比其他服务器承担更多工作,或者速度更慢,

then other servers will lie idle (wasted) at the end, waiting.

那么其他服务器最后会空闲下来(造成浪费),等待它完成。

So ideally MR divides work so that all workers finish at same time.

因此,理想情况下 MR 会划分工作,让所有 workers 同时完成。

But tasks vary in size, and computers vary in speed.

但 tasks 的大小不同,计算机的速度也不同。

Solution: many more tasks than worker machines.

解决方案是:让 task 数量远多于 worker machines 的数量。

Coordinator hands out new tasks to workers who finish previous tasks.

Coordinator 把新 tasks 分配给已经完成前一个 task 的 workers。

So faster servers do more tasks than slower ones.

这样,速度更快的服务器会比速度更慢的服务器处理更多 tasks。

And slow servers are given less work, reducing impact on total time.

慢服务器获得的工作更少,从而降低它们对总耗时的影响。

故障处理与确定性

What about fault tolerance?

fault tolerance 怎么处理?

What if a worker computer crashes?

如果一台 worker computer 崩溃了怎么办?

We want MR framework to hide failures.

我们希望 MR framework 隐藏这些故障。

Does MR have to re-run the whole job from the beginning?

MR 是否必须从头重新运行整个 job?

Why not?

为什么不需要?

Coordinator re-runs just the failed Map()s and Reduce()s.

Coordinator 只重新运行失败的 Map() 和 Reduce()。

Suppose MR runs a Map task twice, one Reduce sees first run's output,

假设 MR 两次运行同一个 Map task,而一个 Reduce 看到第一次运行的输出,

but another Reduce sees the second run's output?

另一个 Reduce 看到第二次运行的输出,会怎样?

The two Map executions had better produce identical intermediate output!

这两次 Map 执行最好产生完全相同的 intermediate output!

Map and Reduce should be pure deterministic functions:

Map 和 Reduce 应该是 pure deterministic functions:

they are only allowed to look at their arguments/input.

它们只能读取自己的参数或输入。

no state, no file I/O, no interaction, no external communication,

不能依赖 state、file I/O、interaction 或 external communication,

  no random numbers.

也不能使用 random numbers。

Programmer is responsible for ensuring this determinism.

程序员负责保证这种 determinism。

其他故障与限制

Other failures/problems:

其他故障和问题:

  • What if the coordinator gives two workers the same Map() task?
  • 如果 coordinator 把同一个 Map() task 分配给两个 workers,会怎样?
perhaps the coordinator incorrectly thinks one worker died.

可能是 coordinator 错误地认为其中一个 worker 已经死亡。

it will tell Reduce workers about only one of them.

它只会把其中一个的结果告诉 Reduce workers。

  • What if the coordinator gives two workers the same Reduce() task?
  • 如果 coordinator 把同一个 Reduce() task 分配给两个 workers,会怎样?
they will both try to write the same output file on GFS!

它们都会尝试把同一个输出文件写入 GFS!

atomic GFS rename prevents mixing; one complete file will be visible.

atomic GFS rename 会避免文件内容混合;最终只会有一个完整文件可见。

  • What if a single worker is very slow -- a "straggler"?
  • 如果某个 worker 非常慢,成为一个“straggler”,怎么办?
perhaps due to flakey hardware.

可能是硬件不稳定造成的。

coordinator starts a second copy of last few tasks.

coordinator 会为最后少数 tasks 启动第二份副本。

  • What if a worker computes incorrect output, due to broken h/w or s/w?
  • 如果 worker 因为损坏的硬件或软件计算出错误输出,会怎样?
too bad! MR assumes "fail-stop" CPUs and software.

那就没有办法了!MR 假设 CPU 和软件只会发生“fail-stop”故障。

  • What if the coordinator crashes?
  • 如果 coordinator 崩溃,会怎样?

性能结果与课程收束

Performance?

Performance 如何?

Figure 2

Figure 2。

X-Axis is time

X 轴表示 time。

Y-Axis is total rate at which a "grep"-style job reads its input

Y 轴表示一个类似“grep”的 job 读取输入时的总速率。

A terabyte (1000 GB) of input

输入大小为 1 terabyte(1000 GB)。

1764 workers

使用 1764 个 workers。

30,000 MB/s (30 GB/s) is huge!

每秒 30,000 MB(每秒 30 GB)是很高的速度!

Why 30,000 MB/s?

为什么能达到每秒 30,000 MB?

17 MB/s per worker machine -- 140 megabits/second

每台 worker machine 每秒 17 MB,即每秒 140 megabits。

more than our guess (55 mbit/s) of net bandwidth

这高于我们估计的每台机器每秒 55 megabits 的网络带宽。

input probably read direct from two local GFS disks

输入可能直接从本地的两块 GFS 磁盘读取。

so each disk probably could read at about 9 MB/second

因此,每块磁盘大概可以达到每秒 9 MB 的读取速度。

Why is the main period of activity about 30 seconds?

为什么主要的活动阶段大约持续 30 秒?

Why does it take 50 seconds for throughput to reach maximum?

为什么 throughput 需要 50 秒才能达到最大值?

Current status?

它现在的状态如何?

Hugely influential (Hadoop, Spark, Lab 1, &c).

它产生了极大影响(Hadoop、Spark、Lab 1 等)。

Probably no longer in use at Google.

它可能已经不再被 Google 使用。

Replaced by Flume / FlumeJava (see paper by Chambers et al).

它被 Flume / FlumeJava 取代(参见 Chambers 等人的论文)。

GFS replaced by Colossus (no good description), and BigTable.

GFS 被 Colossus(没有很好的公开描述)和 BigTable 取代。

Next lecture:

下一讲:

Programming: Go, Threads, RPC

Programming:Go、Threads、RPC。

本篇验收

  • 已固定官方 l01.txt 的 316 行源文件,并记录 SHA-256。
  • 英文源行按课程原始顺序译注;MapReduce word-count ASCII 示意、代码块和 [diagram: ...] 占位均保留。
  • 官方纯文本源没有独立图片,因此没有新增或移动图片附件。
  • 本篇是 6.5840 Spring 2026 lecture track 的第 1 篇;已有 Lab 3–5 译文仍作为同一分布式系统专栏的实现主线。

参考资料

← 返回列表
← 上一篇 TLA+ 与正确性验证:把 Raft 不变量写成模型 下一篇 → MIT 6.5840:Lecture 02 Threads and RPC

评论 (0)

暂无评论,来留下第一条吧。
登录 或 注册 后才能发表评论