The invention provides a double-way buffering mechanism design method for Web services. Two buffering mechanisms based on dynamic pages and static pages perform double-way reading and writing through a
database and an
xml buffering file, synchronous operation is performed to trigger updated buffering mechanisms, an
xml buffering module is used as a using
library when a user accesses, a
database in an application
system is used as a standby
library, and reading and writing operations of data are finished in the
xml buffering file; and the design content comprises a
management process, a reading process and a write-in process of a double-way buffering mechanism. The double-way buffering mechanism design method has the advantages that by means of the dynamic and static combined double-way buffering mechanism, timeliness and accuracy of a
system in
mass data processing can be improved to a large extent, and performances and service qualities of a
Web server are improved.