- 1、本文档共23页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
服务器不缓存是因为linux操作系统会把经常访问的数据存放在内存中
The Google File System (GFS) Sanjay Ghemawat, Howard Gobioff, and Shun-Tak Leung Introduction Design constraints设计要求 Component failures are the norm 1000s of components Bugs, human errors, failures of memory, disk, connectors, networking, and power supplies Monitoring, error detection, fault tolerance, automatic recovery监控,错误检测,容错,自动恢复 Files are huge by traditional standards Multi-GB files are common Billions of objects Introduction Design constraints Most modifications are appends Random writes are practically nonexistent Many files are written once, and read sequentially Two types of reads Large streaming reads Small random reads (in the forward direction) Sustained bandwidth more important than latency 高度可用的带宽比低延迟更加重要 File system APIs are open to changes Interface Design Not POSIX compliant 不遵守POSIX规范 Additional operations Snapshot Record append Architectural Design A GFS cluster A single master 在逻辑上只有一个master Multiple chunkservers per master Accessed by multiple clients Running on commodity Linux machines A file 数据以文件形式存储在Chunk Server上 Represented as fixed-sized chunks(数据块) Labeled with 64-bit unique global IDs Stored at chunkservers 3-way Mirrored across chunkservers GFS chunkserver Linux file system Architectural Design (2) GFS Master GFS chunkserver Linux file system GFS chunkserver Linux file system Application GFS client chunk location? chunk data? Architectural Design (3) Master server Maintains all metadata Name space, access control, file-to-chunk mappings, garbage collection, chunk migration GFS clients Consult master for metadata Access data from chunkservers Does not go through VFS No caching at clients and chunkservers due to the frequent case of streaming 客户端大部分是流式顺序读写,并不存在大量的重复读写,缓存文件数据对提高系统整体性能的作用不大,服务器不缓存是因为Linux操作系统会把经常访问的数据存放在内存中 Single-Master Design Simple Master answers only chunk locations A client typically asks for multiple chunk locations in a single request The master also predicatively provide chunk locations immediately f
您可能关注的文档
最近下载
- 太空葛根的营养功能成分和淀粉理化特性评价.docx VIP
- 【2005-2023年】662有机化学历年真题(高清版).pdf VIP
- 小学科学教学融入STEM理念的设计与实践案例:2下-磁铁迷宫.docx VIP
- 2024北京东城区初二(下)期末英语及答案.docx VIP
- 2025年度卫生招聘考试(眼科学)新版真题卷(附详细解析).pdf VIP
- 2025北京东城区初二期末(下)语文试卷及答案.docx VIP
- 2024年-xx地铁钢轨探伤培训PPT.pdf VIP
- 山西省监狱局刑罚执行试题及答案.pdf VIP
- 2024年北京市中考英语试题卷(含答案逐题解析).docx
- 手术室儿童科普.pptx VIP
文档评论(0)