Method and device for writing data into cache, electronic equipment and storage medium

CN119025028APending Publication Date: 2024-11-26SHANGHAI ZHONG YUAN NETWORK CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411033371.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-11-26

Smart Images

  • Figure CN119025028A_ABST
    Figure CN119025028A_ABST
Patent Text Reader

Abstract

The invention provides a method and device for writing data into a cache, electronic equipment and a storage medium, and the method comprises the steps: estimating the number of unique data in a data set through the number of longest continuous leading zeros in hash values corresponding to input elements under the condition that the query rate per second of a server is higher than a set query rate, the input element comprises a plurality of input data, and the unique data is non-repeated input data; determining whether the cache space is sufficient or not according to the quantity of the unique data and the size of the cache space; if the cache space is insufficient, storing the hash value in a cache by adopting a sparse matrix; and if the cache space is sufficient, storing the hash value in the cache by adopting a dense matrix. The load of the server is effectively reduced, and the stability of the system is improved.
Need to check novelty before this filing date? Find Prior Art

Citation Information

Cited By

  • Cache management method and device for metadata management component

    CN119415268A