Refreshing method and device of cluster application cache
The invention discloses a refreshing method and device of a cluster application cache. The method comprises the following steps: initializing a cache of a cluster application in each server, and writing a server IP (Internet Protocol) address and a cache name corresponding to each cache into a cache...
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 discloses a refreshing method and device of a cluster application cache. The method comprises the following steps: initializing a cache of a cluster application in each server, and writing a server IP (Internet Protocol) address and a cache name corresponding to each cache into a cache control table; at each period interval, checking all cache data of the cluster application, and updating corresponding cache state information in the cache control table according to a checking result; and according to the cache state information, refreshing the corresponding cache. The cache control information including the server IP address, the cache name, a cache state and the like are automatically maintained into a database, then, the corresponding cache control information is actively obtained through a timing task so as to achieve a purpose that the cache is globally controlled to be refreshed, and resources are saved. |
---|