Data storage method and device and readable storage medium
The invention discloses a data storage method and device and a readable storage medium, and relates to the technical field of information. The data storage method is applied to a gateway server, a gateway service is started, a data storage request instruction sent by a user is received, the memory q...
Gespeichert in:
Hauptverfasser: | , |
---|---|
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 data storage method and device and a readable storage medium, and relates to the technical field of information. The data storage method is applied to a gateway server, a gateway service is started, a data storage request instruction sent by a user is received, the memory quota of the user is obtained from a cluster and added to a cache manager, and the resource size of stored data is superposed to the cache manager so that the memory quota of the user can be updated. Compared with the prior art, the scheme has the advantages that the gateway server is introduced, so that the quota of the user is not obtained through polling of a cluster, the quota is obtained through the cache in the gateway server, and when data storage is obtained, related data calculation is performed by the gateway server, so that the data storage efficiency is improved, and the user experience is improved. Therefore, the quota size in the cache can be updated in real time through the gateway server, and the val |
---|