摘要
通过对非集群环境与集群环境的比较分析,提出了一种适合集群环境的CMS最核心部分(发布、查看新闻,上传、下载新闻附件)的架构设计,它是对非集群环境架构设计的改良。通过将文件存储在数据库服务器中,而应用服务器存储文件的副本,从而解决了非集群环境的架构移植到集群环境时导致文件无法正常更新的问题。最后通过引入缓存机制,使得这种架构设计在性能方面有了较大的改进。
By comparing non-cluster environment with cluster environment, an architecture design of the core part of CMS ( publish and view news, upload and download news accessory) is put forward in this paper, which is suitable for cluster environment and is the improvement of the architecture design for non-cluster environment. The problem that files can not be normally updated, which occurs when the architecture for non-cluster environment is moved to cluster environment, is solved by restoring files into database servers and restoring copies of files into application servers. Finally, the performance of the architecture design is greatly improved because of caching mechanism.