本文介绍了Google文件系统中的块大小问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

-

什么是懒惰空间分配,以及如何解决内部碎片问题?

What is lazy space allocation and how is it going to solve the internal fragmentation problem?

What is staggering application start times and how does it avoid chunk-servers from becoming hot-spots?

解决方案

Lazy space allocation means the filesystem doesn't actually give the file space before it's written. They're commonly referred to as sparse files. For example, if only the first 2MB of the 64MB chunk file is used, only 2MB will actually be used on disk.

Staggering application start times just means that they don't start everything at once. If every application needs to read a few configuration files stored in GFS upon startup, if they all start at the same time, there will be load problems. Spreading out the startup times alleviates this.

这篇关于Google文件系统中的块大小问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 03:26