首页 > 代码库 > HDFS Architecture

HDFS Architecture

Two kind of database architectures:

  • Master slave model

    High consistency

    Simpler design

    Single master node is not robust

  • Peer peer model

    Distributes read write load

    One node down won’t affect others

    Low consistency

HDFS使用的是Master slave model.

Master slave model 模型总览:

技术分享

读取文件的时候,Master并不会转移数据,这会导致bottleneck。master只会决定哪一个slave node读写,然后client直接与那个slave node 通信。

 

HDFS Architecture