分布式文件系统GFS问题汇总

1. 思考GFS是如何实现设计目标的,包括performance, scalability, reliability, and availability?

2.如何解决组件可能出现的任意故障?

   A:constant monitoring(日常监控), error detection(故障检测), fault tolerance(错误冗余), and automatic recovery(自动恢复)。

3.GFS是如何保证数据一致性的?

4.GFS是如何优化append操作的?

5.GFS的两种典型读操作。

   Large streaming reads(1M左右的数据) and small randon reads(几KB数据).   想象一下微博的读操作就是如此。用户浏览时是大量的流数据,如果随机察看某个评论就是微量的随机读操作。

6.大量的并发用户对同一个文件进行append操作,如何以最小的代价实现同步并保证每一个用户操作的atomicity?

7.Master所包含的文件系统的元数据有哪些?

This includes the namespace, access control information, the mapping from files to chunks, and the current locations of chunks.
It also controls system-wide activities such as chunk lease management, garbage collection of orphaned chunks, and chunk migration between chunkservers.

8.理解GFS client同master和chuckserver之间是如何通信的?

Client提供file name和Byte offset, 由于chuck size是固定的64M, 所以Byte offset / chuck size就得到chuck  index。

9. Master所存储的元数据类型

   The file and chunk namespaces, the mapping from files to chunks, and the locations of each chunk’s replicas。

10. 一致性模型中的defined 和 consistent but undefined的区别是什么?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 4
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值