Skip to content

Latest commit

 

History

History

课程 02

预习

课堂讲义

阅读课堂讲义,请先思考以下问题:

  • Most commonly-asked question: Why Go?
  • What is Threads?
  • Why threads?
  • How many threads in a program?
  • Threading challenges?
  • What is a crawler?
  • Crawler challenges?
  • When to use sharing and locks, versus channels?
  • RPC problem: what to do about failures?
  • What does a failure look like to the client RPC library?
  • What if an at-most-once server crashes and re-starts?

课后作业

我为 crawlerkv 添加了注释,这个压缩包 中保存了原始的代码。