Font Size: a A A

Research And Implementation Of Reusable Statistic And Auditing Platform Based On WSGI

Posted on:2010-07-23Degree:MasterType:Thesis
Country:ChinaCandidate:J D ZhuangFull Text:PDF
GTID:2178360278470444Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Auditing System and Statistic System are the core sub-systems of CMS. Furthermore, they are the indispensable component of the Web2.0 products. Auditing system can ensure the validity as well as security of the data posted by users; while Statistic system can record the changing data of the business and runtime status. However, the traditional ways to design audit/statistic systems are business-driven, and the way to persist data is bound with concrete business rule, thus it leads to low system reusability. IT companies who're handling a plenty of internet products, in order to cut cost of operating as well as the cost of developing, are facing the problems: 1) how to improve the system reusability; 2) how to integrate the data from auditing /statistic system.To solve the 1st problem, we apply the dynamic configuration, according to the action-logic of auditing and statistic system, and enhance the commonality and usability of persistence layer as well as presentation layer. Thus we've designed the Reusable Statistic Auditing Platform (RSAP), making it easy for developers to customize the auditing and statistic features with configurations as what they need for business.To solve the 2nd problem, the traditional way is to expose the data-interface of each business to others, which would lead to changeable protocol-design and would make it hard to reuse the interfaces. We apply SOA data sharing strategy to manage the service interface on the platform, reducing the unnecessary implementations for data interfaces, and meanwhile standardize the protocol of the interfaces. However public service interfaces could be over-invoked. We propose an access frequency restrict model in the thesis, to reduce the extra system load.The exposed public services, should lead to the problem for great capacity storage and the performance issue of concurrent access. We use several ways to optimize the performance of the platform. In the thesis, database sharding architecture, distributed cache, local cache as well as load-balancing would be discussed.RSAP has been deployed in a practical environment, and helps the company deal with statistic and auditing system in a sophisticated way. It performs well on the condition of 10,000,000 visits / day.
Keywords/Search Tags:Dynamic Configuration, WSGI, SOA, Access Frequency Restrict
PDF Full Text Request
Related items