Data processing method and system, computer readable medium and electronic equipment
The invention belongs to the technical field of computers, and particularly relates to a data processing method and system, a computer readable medium and electronic equipment. The data processing method comprises the following steps: in response to a data query request, searching target cache data...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention belongs to the technical field of computers, and particularly relates to a data processing method and system, a computer readable medium and electronic equipment. The data processing method comprises the following steps: in response to a data query request, searching target cache data matched with the data query request in a cache; obtaining the timeout time of the target cache data, determining whether the timeout time is expired or not, wherein the timeout time is smaller than the failure time of the target cache data; if the timeout time is not expired, returning the target cache data to a requester of the data query request; and if the timeout time is expired, prolonging the timeout time of the target cache data, and searching target database data matched with the data query request in a database. On the basis of the method, the problems of cache breakdown and query faults caused when a large number of queries are used for querying one piece of cache data and the cache data are just invalid |
---|