基于Cache的海量图片存取优化方案
DOI:
CSTR:
作者:
作者单位:

(四川民族学院 计算机科学系,四川 康定 626001 )

作者简介:

陈 渝(1974-),男,四川仪陇人,硕士,副教授,主要从事计算机应用、人机交互技术方向的研究。[FQ)]

通讯作者:

中图分类号:

TP391

基金项目:

四川省教育厅科研项目(13ZA0135)。


High Concurrent Access Optimization in HDFS Based on Cache for Mass Images
Author:
Affiliation:

(Department of Computer Science,Sichuan University for Nationalites, Kangding 626001, China)

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    针对Hadoop分布式文件系统(Hadoop distributed file system,HDFS)存储海量图片效率低下的问题,在分析HDFS的基本框架以及其固有的文件读写流程基础上,提出了基于Cache的海量图片存储优化方案(HDFS based on Cache,CHDFS);该方案引入了Cache、预读、文件合并等机制,来提高图片读写的性能,弥补了HDFS存储海量图片时的缺陷;采用图片合并的方式减少Namenode中元数据的个数,同时提高Datanode存储空间的利用率;由于Cache、预读以及图片合并等操作对用户都是透明的,所以,该方案并没有增加用户使用HDFS的复杂性;实验结果表明,CHDFS方法可以有效地提高图片的存取效率。

    Abstract:

    To solve the problem of the low efficiency of HDFS (Hadoop Distributed File System) to store mass images, this paper studied the HDFS architecture and the flow of reading and writing files into HDFS, and then proposed an access optimization solution for mass pictures which is based on Cache. It is called CHDFS (HDFS Based on Cache).CHDFS adopts the following ideas to improve the performance, such as establishing appropriate cache ,reading ahead pictures, merging more than one images into a big file and so on. File merge can decrease the number of metadata in Namenode and improve the capacity factor of storage space in Datanode. To the client, this solution does not complex the operations to use the HDFS, due to the transparency of cache, read ahead and pictures merge. The experimental data indicates that CHDFS can increase the performance of storing and accessing mass pictures in HDFS without affecting the normal running of HDFS.

    参考文献
    相似文献
    引证文献
引用本文

陈渝.基于Cache的海量图片存取优化方案计算机测量与控制[J].,2014,22(8):2669-2672,2676.

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2014-04-15
  • 最后修改日期:2014-05-04
  • 录用日期:
  • 在线发布日期: 2014-12-16
  • 出版日期:
文章二维码