MIT 6.5840:Lecture 22 Project demos
本篇对应 MIT 6.5840 Spring 2026 Lecture 22:Project demos。官方日程没有提供独立讲义;因此按官方 Project 页面逐条翻译项目选择、提案、实现、报告、演示和选题建议,不虚构课堂演示内容。
MIT 6.5840:Lecture 22 Project demos
相关文章:Lab 5 分片 KV 与分片迁移 · 6.5840:Lecture 15 IronFleet · 6.5840:Lecture 21 Byzantine Fault Tolerance
TL;DR
- 本讲边界:Spring 2026 日程只列出 LEC 22: Project demos,没有独立 lecture notes;本篇把官方 Project 页面作为唯一一手材料。
- 项目选择:可以提出自己的 final project,也可以选择 Lab 5;自定义项目需要提前获批,并由 2~3 名 6.5840 学生合作完成。
- 交付链路:组队与选题 → 提交不超过一页的 proposal → 设计和实现 → 提交约 3 页的设计说明与代码 → 在最后一次课进行简短 presentation。
- 技术边界:项目应当与 6.5840 的核心主题密切相关,至少达到 Lab 5 的工作量;fault tolerance 只是示例,官方还列出了 replication、consistency、storage、data processing 等方向。
- 资料边界:下方保留官方 Project 页面中的“half-baked project ideas”;这些是选题启发,不是课程要求,也不是已经批准的项目方案。
名词解释
| 名词 | 含义 | 本讲对应物 |
|---|---|---|
| Final project | 课程末的自定义系统项目 | 与 Lab 5 二选一的课程项目 |
| Proposal | 说明组员、问题、方案和拟实现内容的短提案 | Gradescope 的 Final Project Proposal |
| Project write-up | 解释项目问题、设计和实现的短文档 | 约 3 页正文 |
| Project demo | 对已完成项目做的课堂演示 | 最后一次课的 short presentation |
| Lab 5 | 课程提供的 sharded KV 实验 | 自定义 final project 的替代选项 |
| Half-baked project idea | 尚未充分展开的选题想法 | 官方项目页的方向列表,不是规范设计 |
目录
| 章节 | 内容 |
|---|---|
| 版本与来源 | 解释 Lecture 22 与 Project 页面之间的关系 |
| 原文逐行翻译 | 按官方 Project 页面内容单元逐条翻译 |
| 交付流程与验收 | 将官方要求整理为可检查的项目链路 |
| 选题方向地图 | 将官方想法按分布式系统主题归类 |
| 本篇验收 | 源文覆盖、格式和图片结论 |
版本与来源
- 课程日程:MIT 6.5840 Spring 2026 Schedule 将 2026 年 5 月 12 日列为 LEC 22: Project demos,并标记为最后一次课。
- 主要源页:6.5840 Project,官方页面标题为 6.5840 Project,页面固定于本次整理时访问的 Spring 2026 版本。
- 源页 SHA-256:f4486f9ab2642628d0b0e7a2d80c14e1629379f53bde1dc60dfd4319dc6792bb(HTML 页面原始文件;若课程站点更新,应重新计算并复核)。
- 翻译边界:Project 页面中的可见文本按语义内容单元逐条保留;HTML 的排版换行不当作额外语义行。链接目标保留在参考资料和对应条目中。
- 图片结论:官方 Project 页面没有独立图片资源;本篇不新增图片,项目方向仍按原页面顺序列出。
- 术语约定:project、proposal、write-up、presentation、Lab 5、Raft、CRDT、DSM、RDMA、DPDK、NBD、Dynamo、COPS、Walter、Lynx、MapReduce 和 Spark 等术语保留英文,不强行翻译。
原文逐行翻译
页面标题与时间
6.5840 - Spring 2026
6.5840——Spring 2026。
6.5840 Project
6.5840 Project。
Proposals due: Mar 20 23:59
Proposal 截止时间:3 月 20 日 23:59。
Code and write-up due: May 8 23:59
代码和 write-up 截止时间:5 月 8 日 23:59。
Presentations: May 12 in class
Presentation:5 月 12 日在课堂上进行。
Introduction
Introduction
Introduction。
You can either do a final project based on your own ideas, or Lab 5.
你可以基于自己的想法完成一个 final project,也可以选择 Lab 5。
If you want to do a project, you must get our approval for your idea in advance.
如果你想做一个自定义 project,必须提前获得课程 staff 对该想法的批准。
You must form a group of 2 or 3 6.5840 students to collaborate on the project.
你必须由 2 或 3 名 6.5840 学生组成小组,共同协作完成 project。
At the end of the term you'll turn in your code and a short write-up describing the design and implementation of your project, and make a short in-class presentation about your work.
学期末,你需要提交代码以及一份描述 project 设计与实现的简短 write-up,并在课堂上对自己的工作做一次简短 presentation。
We'll post the project write-ups and code on the course web site.
课程 staff 会把 project write-up 和代码发布到课程网站上。
Your project should be something interesting and challenging that's closely related to 6.5840 core topics, such as fault tolerance.
你的 project 应当是有趣且有挑战性的内容,并且与 6.5840 的核心主题密切相关,例如 fault tolerance。
The project must involve at least as much effort as Lab 5.
该 project 的工作量至少必须达到 Lab 5 的程度。
Below you'll find some half-baked ideas that we think could turn into interesting projects, but we haven't given them too much thought.
下面列出了一些 half-baked ideas;我们认为它们可能发展成有趣的 project,但目前还没有对它们进行充分推敲。
Deliverables
Deliverables
Deliverables。
There are four concrete steps to the final project, as follows:
final project 有以下四个具体步骤:
- Form a group and decide on the project you would like to work on.
- 组建小组,并决定要开展哪个 project。
Feel free to use Piazza to find group members and discuss ideas.
你可以使用 Piazza 寻找组员并讨论想法。
Course staff will be happy to discuss project ideas via e-mail or in person.
课程 staff 很乐意通过电子邮件或当面讨论 project ideas。
- Flesh out the exact problem you will be addressing and how you will go about solving it.
- 明确你要解决的具体问题,以及准备如何解决它。
By the proposal deadline, you must submit a proposal (less than a page) describing: your group members list, the problem you want to address, how you plan to address it, and what are you proposing to specifically design and implement.
在 proposal 截止时间前,你必须提交一份 proposal(少于一页),说明:组员名单、想要解决的问题、计划如何处理该问题,以及具体计划设计和实现什么。
Submit your proposal to Gradescope (to the assignment called "Final Project Proposal")
请将 proposal 提交到 Gradescope 中名为“Final Project Proposal”的作业。
We'll tell you whether we approve, or not, and give you feedback.
课程 staff 会告知你们 proposal 是否获批,并提供反馈。
- Execute your project: design and build something neat!
- 执行 project:设计并构建一些有意思的东西!
- Write a document describing the design and implementation of your project, and turn it in along with your project's code by the final deadline.
- 编写一份描述 project 设计与实现的文档,并在最终截止时间前与 project 代码一同提交。
The document should be about 3 pages of text that helps us understand what problem you solved, and what your code does.
该文档应当包含约 3 页文字,帮助课程 staff 理解你解决了什么问题,以及代码做了什么。
You can either send the code to the staff list or provide a link to an repository (e.g., on GitHub) in your writeup.
你可以将代码发送到 staff mailing list,或者在 write-up 中提供代码仓库的链接(例如 GitHub 链接)。
The code and writeups will be posted online after the end of the semester.
学期结束后,代码和 write-up 会被发布到网上。
- Prepare a short presentation about the work that you have done for your final project, and deliver it during the last class meeting.
- 准备一份介绍 final project 工作成果的简短 presentation,并在最后一次课上进行展示。
原文注记:There are four concrete steps,但随后实际列出了 1–5 共五步。
原文注记:页面写作“有四个具体步骤”,但随后实际列出了 1–5 共五步;本译文保留这一原文不一致,不擅自改写。
Half-baked project ideas
Half-baked project ideas
Half-baked project ideas。
You should feel free to propose your own project idea. If you'd like some starting points, here are some topics that might (or might not) be worth thinking about.
你完全可以提出自己的 project idea。如果需要一些起点,下面列出了一些可能值得、也可能不值得进一步思考的主题。
Re-implement one of the systems described in the papers discussed in 6.5840.
重新实现 6.5840 讨论过的论文中描述的某个系统。
Build a high-performance Raft implementation, changing the design as needed.
构建一个高性能的 Raft 实现,并在需要时调整设计。
Build a distributed, decentralized, fault-tolerant Reddit.
构建一个分布式、去中心化且容错的 Reddit。
Build a system for making Node.js applications fault-tolerant, perhaps using some form of replicated execution.
构建一个让 Node.js 应用具备 fault tolerance 的系统,例如采用某种 replicated execution。
Add cross-shard atomic transactions to Lab 5, using two-phase commit and/or snapshots.
为 Lab 5 增加 cross-shard atomic transactions,使用 two-phase commit 和/或 snapshots。
Build a data-flow processing system in the style of Google FlumeJava or Spark or Naiad.
构建一个 Google FlumeJava、Spark 或 Naiad 风格的 data-flow processing system。
Build a system with asynchronous replication (like Dynamo or Ficus or Bayou). Perhaps add stronger consistency (as in COPS or Walter or Lynx).
构建一个采用 asynchronous replication 的系统(类似 Dynamo、Ficus 或 Bayou)。也可以进一步加入更强的 consistency(类似 COPS、Walter 或 Lynx)。
Build a file synchronizer (like Unison or Tra).
构建一个 file synchronizer(类似 Unison 或 Tra)。
Build a coherent caching system for use by web sites (a bit like memcached), perhaps along the lines of TxCache.
构建一个供网站使用的 coherent caching system(有点类似 memcached),例如沿着 TxCache 的方向实现。
Build a distributed cooperative web cache, perhaps along the lines of Firecoral or Maygh.
构建一个 distributed cooperative web cache,例如沿着 Firecoral 或 Maygh 的方向实现。
Build a collaborative editor like EtherPad, using eventually-consistent or CRDT primitives.
使用 eventually-consistent 或 CRDT primitives,构建一个类似 EtherPad 的 collaborative editor。
Use a block-chain to build something other than a crypto-currency.
使用 block-chain 构建一个不同于 crypto-currency 的系统。
Build a fault-tolerant and/or sharded file service.
构建一个 fault-tolerant 和/或 sharded file service。
Build a distributed shared memory (DSM) system, to make it possible to run existing parallel code intended for a single multi-core machine, but on a cluster of machines.
构建一个 distributed shared memory(DSM)系统,使原本面向单台 multi-core machine 的现有 parallel code 可以在机器集群上运行。
Build a distributed block store in the style of Amazon EBS or FAB.
构建一个 Amazon EBS 或 FAB 风格的 distributed block store。
Maybe you can get standard operating systems to talk to your network virtual disk using iSCSI or Linux's NBD (network block device).
也许可以使用 iSCSI 或 Linux 的 NBD(network block device),让标准操作系统与 network virtual disk 通信。
Build a geo-replicated storage system, like Dynamo or COPS, perhaps providing something useful and/or efficient in the the way of transactions or consistency.
构建一个类似 Dynamo 或 COPS 的 geo-replicated storage system,并尝试在 transactions 或 consistency 方面提供有用或高效的能力。
Use modern high-speed NIC features (e.g. RDMA or DPDK) to build a high-speed service, perhaps with replication or transactions.
使用现代高速 NIC 特性(例如 RDMA 或 DPDK)构建一个 high-speed service,也可以加入 replication 或 transactions。
Use modern fast non-volatile storage (e.g. Intel Optane) to simplify the design of a fault-tolerant system.
使用现代高速 non-volatile storage(例如 Intel Optane),简化 fault-tolerant system 的设计。
Build a fault-tolerance framework that's easier than Raft to layer service code on top of.
构建一个比 Raft 更容易在其上层叠加 service code 的 fault-tolerance framework。
Figure how to say something useful about whether applications really need strictly consistent storage, or what the cost in application complexity is of having to use storage with weak consistency.
研究如何对以下问题给出有价值的结论:应用是否真的需要 strictly consistent storage,或者使用 weak consistency storage 会给 application complexity 带来什么代价。
Build a data-processing system that is good at both big data (like MapReduce and Spark) and on-line processing (like a key/value store or SQL database).
构建一个同时擅长 big data(如 MapReduce 和 Spark)与 on-line processing(如 key/value store 或 SQL database)的 data-processing system。
交付流程与验收
官方页面虽然把列表称为“四个步骤”,实际内容是五步;按可执行顺序整理如下:
flowchart LR
A[组队与选题] --> B[提交 proposal]
B --> C{课程 staff 批准?}
C -->|否| D[根据反馈修改]
D --> B
C -->|是| E[设计与实现]
E --> F[提交代码与约 3 页 write-up]
F --> G[最后一次课进行 project demo]
可检查的交付物
| 阶段 | 官方要求 | 可复核证据 |
|---|---|---|
| 组队 | 2~3 名 6.5840 学生 | group members list |
| 选题 | 与课程核心主题密切相关,工作量至少达到 Lab 5 | proposal 中的问题和实现范围 |
| 提案 | 少于一页,写明组员、问题、方法和具体实现内容 | Gradescope 的 Final Project Proposal |
| 实现 | 设计并构建 project | 可运行代码和设计结果 |
| 结项 | 约 3 页说明设计、解决的问题和代码行为 | project write-up |
| 演示 | 最后一次课做简短 presentation | Project demo |
选题方向地图
| 方向 | 官方想法 | 主要分布式系统问题 |
|---|---|---|
| 共识与容错 | 高性能 Raft、比 Raft 更易用的 fault-tolerance framework、重新实现经典系统 | leader、replication、failure handling |
| 分片与事务 | Lab 5 的 cross-shard atomic transactions、sharded file service | 2PC、snapshot、迁移和跨分片一致性 |
| 弱一致性与复制 | Dynamo/Ficus/Bayou、COPS/Walter/Lynx、geo-replicated storage | asynchronous replication、consistency、冲突处理 |
| 缓存与协作 | coherent web cache、distributed cooperative web cache、EtherPad/CRDT | cache coherence、协作编辑和 convergent state |
| 存储系统 | file synchronizer、distributed block store、DSM、non-volatile storage | durability、network block device、共享内存和恢复 |
| 数据处理 | FlumeJava、Spark、Naiad、big data + on-line processing | data flow、批处理与在线服务的组合 |
| 高性能系统 | RDMA、DPDK、复制或事务 | kernel bypass、低延迟和一致性代价 |
这张表是对官方清单的主题归类,不是官方给出的优先级。选题时仍需回到具体问题、失败模型、数据一致性、可观察输出和工作量边界。
本篇验收
- [x] 已核对官方 Spring 2026 日程:Lecture 22 是 Project demos,且是最后一次课。
- [x] 已核对官方 Project 页面:项目选择、批准、组队、proposal、实现、write-up、presentation 和全部选题建议均已覆盖。
- [x] 官方页面原文中的“四步/五步”不一致已显式保留并注记。
- [x] Project 页面没有独立图片资源,本篇没有伪造或新增图片。
- [x] project、proposal、write-up、presentation、Lab 5、Raft、CRDT、DSM、RDMA、DPDK、NBD 等专用词未强行翻译。
- [ ] 本篇不包含任何真实项目 demo 的逐项内容;课程官网没有发布 Lecture 22 的演示记录,后续如官方公开 project write-ups,可另建项目案例笔记。
参考资料
评论 (0)