计算机技术与发展
計算機技術與髮展
계산궤기술여발전
Computer Technology and Development
2015年
11期
204-208
,共5页
内存对象%缓存系统%分布式算法%电子商务
內存對象%緩存繫統%分佈式算法%電子商務
내존대상%완존계통%분포식산법%전자상무
memory object%cache system%distributed algorithm%e-commerce
内存对象缓存技术近年来受到业界和学界的广泛关注,Memcached既是一种分布式缓存服务器,也是分布式内存对象缓存系统的典型代表.其以最小的资源消耗获得高效的服务性能优势,广泛应用于Web应用系统中.Memcached自身的内存管理机制、分布式算法并非完美,对此,文中以提升Web应用系统性能为目标,利用分布式算法,基于Memcached对内存对象缓存技术进行深入研究,通过一致性Consistent Hashing算法减轻因添加服务器节点而造成缓存命中率降低的代价,提高增加服务器节点后的缓存命中率,并将优化后的Memcached应用于某电子商务平台之中.测试表明,此电子商务应用系统的请求数、流量、TCP连接数以及CPU利用率等技术指标改善明显,利用Memcached能够有效减轻数据库服务器负载压力,提高Web应用系统响应速度,增强用户体验效果.
內存對象緩存技術近年來受到業界和學界的廣汎關註,Memcached既是一種分佈式緩存服務器,也是分佈式內存對象緩存繫統的典型代錶.其以最小的資源消耗穫得高效的服務性能優勢,廣汎應用于Web應用繫統中.Memcached自身的內存管理機製、分佈式算法併非完美,對此,文中以提升Web應用繫統性能為目標,利用分佈式算法,基于Memcached對內存對象緩存技術進行深入研究,通過一緻性Consistent Hashing算法減輕因添加服務器節點而造成緩存命中率降低的代價,提高增加服務器節點後的緩存命中率,併將優化後的Memcached應用于某電子商務平檯之中.測試錶明,此電子商務應用繫統的請求數、流量、TCP連接數以及CPU利用率等技術指標改善明顯,利用Memcached能夠有效減輕數據庫服務器負載壓力,提高Web應用繫統響應速度,增彊用戶體驗效果.
내존대상완존기술근년래수도업계화학계적엄범관주,Memcached기시일충분포식완존복무기,야시분포식내존대상완존계통적전형대표.기이최소적자원소모획득고효적복무성능우세,엄범응용우Web응용계통중.Memcached자신적내존관리궤제、분포식산법병비완미,대차,문중이제승Web응용계통성능위목표,이용분포식산법,기우Memcached대내존대상완존기술진행심입연구,통과일치성Consistent Hashing산법감경인첨가복무기절점이조성완존명중솔강저적대개,제고증가복무기절점후적완존명중솔,병장우화후적Memcached응용우모전자상무평태지중.측시표명,차전자상무응용계통적청구수、류량、TCP련접수이급CPU이용솔등기술지표개선명현,이용Memcached능구유효감경수거고복무기부재압력,제고Web응용계통향응속도,증강용호체험효과.
The memory object cache technology has been widely concerned in the industry and academia in recent years. The Memcached is a kind of distributed cache server,it is a typical representative of distributed memory object caching system,and it is getting efficient service performance advantages by minimal consumption of resources,so it is widely used in the Web application system. The memory management mechanism and distributed algorithm owned by Memcached are not perfect. As the important target to enhance the perform-ance of Web applications,using the distributed algorithm,in-depth researching on the memory object caching technology based on Mem-cached,reduce the cost of the cache hit rate decreased as result of the addition server nodes by Consistent Hashing algorithm,improve the cache hit rate after increased the server node,and the improved Memcached is applied to an e-commerce platform. Tests show that the number of requests,traffic,TCP connections and CPU utilization rate of the e-commerce application systems are improved significantly, using Memcached can effectively reduce database server load pressure and improve Web application system response speed,enhancing the user experience effect.