A hotspot data
elimination and maintenance method in a
distributed cache system comprises the steps that the
access frequency, the time locality
score, the service weight and the real-
time data popularity value of data are acquired, and the dynamic priority
score of the data is generated; determining
failure data based on the dynamic priority
score; dividing the data into hot spot area data, temperature spot area data and
cold spot area data, when the cache space is insufficient, preferentially eliminating the data with the lowest dynamic priority score and the retention benefit value lower than a preset threshold value in the
cold spot area data, and if the cache space is still insufficient, performing data
elimination on the temperature spot area data according to the latest
access time of the temperature spot area data; packaging the cold point area
elimination data, the warm point area elimination data and the
failure data into a final transaction message; and
broadcasting the final transaction message through a preset protocol, and performing distributed consistency maintenance operation on the final transaction message through the receiving node. According to the invention, intelligent and efficient cache data elimination and consistency
maintenance management can be realized.