Double-way buffering mechanism design method for Web services
By introducing a dual-channel cache mechanism into the Web application system and utilizing the dual-channel read-write and synchronous update mechanism of the database and xml cache files, the problems of performance degradation and data update difficulty of traditional Web application systems are solved, and efficient massive data processing is achieved. and improve user service quality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- LANGCHAO ELECTRONIC INFORMATION IND CO LTD
- Filing Date
- 2012-11-22
- Publication Date
- 2013-04-17
AI Technical Summary
Traditional Web application systems based on B/S architecture have problems such as prolonged response time, reduced throughput, and low resource utilization during peak hours. Dynamic page caches occupy memory, leading to performance degradation, and static page caches have poor reusability, making it difficult to update data in a timely manner.
A dual-channel cache mechanism is used to perform dual-channel reading and writing through the database and xml cache files. Synchronous operations trigger updates. The xml cache module serves as the main library and the database serves as the backup library. Data reading and writing are completed in the xml cache file. The management process includes cache deletion. Mechanism and reading and writing process, combined with dynamic and static page caching, xml cache files are deleted in order of access time to ensure maximum space utilization.
It improves the performance and real-time performance of the application system, reduces server pressure, improves user service quality, and adapts to the needs of massive data processing and cross-platform applications.