Memcached是一个免费开源、高性能的、分布式的内存对象缓存系统,用于在动态Web应用中提升访问速度,在很多高访问量的大型网站中得到广泛应用。然而却一直没有一个对Memcached进行统一集中管理部署的工具,在实际开发中往往会将Memcached模块紧密地和应用程序混在一起,给缓存的独立维护造成困难。文中从Memcached应用特征和Web应用体系结构特征两方面分析了现有Memcached系统的缺点,进而提出了一种缓存资源集中管理和多应用共享方案,并构建了一个MemcachedManager应用系统。相对于传统Web开发方式,文中提出的方案可以很大程度上规范和简化应用程序对Memcached的使用,方便缓存资源的统一分配管理。
Memcached is a free, open source, high-performance, distributed memory object caching system for dynamic Web applications by improving access speed,it is widely used in many high-traffic large websites. However, there isn' t a tool to centrally manage and de- ploy Memcaehed, in the actual development the Memcathed and application procedure always be hybrid, thus causing difficulties to the maintenance of cache. Analyze the shortcomings of the existing Memcached from the Memcached application characteristics and Web ap- plication architecture features, then put forward a cache resources centralized management and application sharing programs, and build a Memcached Manager application system. Compared with traditional Web development methods, the proposed program can standardize and simplify the usage of Memcached, and be convenient for cache resource allocation management.