摘要
针对分布式文件系统应用于海量小文件访问模式时,元数据请求过多导致系统性能下降的问题,提出了客户端元数据缓存授权机制的解决方案.客户端从服务器读取元数据时,申请相应类型的授权,服务器分析请求并决定是否授予此客户端所访问的元数据的授权.若客户端成功获取授权,则将其与本地缓存的元数据相关联,作为缓冲有效性的凭证.当再次访问本地缓存的元数据时,若有相关授权,则可以直接从本地获取元数据,无需向服务器发送缓存数据的有效性验证RPC.仿真实验表明,文中的方法有效的降低了客户端发送元数据请求RPC的数量,节省了宝贵的网络带宽资源,降低了元数据服务器的负载.
Aiming at the system performance degradation problems of distributed file system in massive small file access patterns, designed and implemented a delegation mechanism for meta data cache in client .The client apply some kinds of delegations when getting meta data from the server. The meta data server checked and decided ecide whether to grant the delegation or not. Once the client getting the delegation which is stored in the local memory, the meta data getting operation can be unnecessary to sent RPC request. The simulation result shows that our method in this paper can reduce the number of the RPC request effectively, and aving valuable network bandwidth resources, reducing the metadata server load.
出处
《计算机系统应用》
2013年第7期183-186,176,共5页
Computer Systems & Applications