首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

mogilefs-glossary

2012-11-03 
mogilefs--glossary? Glossary ?Terms for common itemsdomainclasskeyminimum replica count (mindevcoun

mogilefs--glossary
mogilefs-glossary ? Glossary ?Terms for common itemsdomainclasskeyminimum replica count (mindevcount)filefiddomain?

Adomain is the top level separation of files. File keys are uniquewithin domains. A domain consists of a set of classes that define thefiles within the domain. Examples of domains: fotobilder, livejournal.

class?

Everyfile is part of exactly one class. A class is part of exactly onedomain. A class, in effect, specifies the minimum replica count of afile. Examples of classes: userpicture, userbackup, phonepost. Classesmay have extra replication policies defined.

key?

Akey is a unique textual string that identifies a file. Keys are uniquewithin domains. Examples of keys: userpicture:34:39, phonepost:93:3834,userbackup:15. Fake structures work too: /pics/hello.png, any string.

minimum replica count (mindevcount)?

Thisis a property of a class. This defines how many times the files in thatclass need to be replicated onto different devices in order to ensureredundancy among the data and prevent loss.

file?

Afile is a defined collection of bits uploaded to MogileFS to store.Files are replicated according to their minimum replica count. Eachfile has a key, is a part of one class, and is located in one domain.Files are the things that MogileFS stores for you.

fid?

Afid is an internal numerical representation of a file. Every file isassigned a unique fid. If a file is overwritten, it is given a new fid.

热点排行