Method and device for changing redis memory capacity and electronic equipment
The invention provides a redis memory capacity changing method and device and electronic device.The method comprises the steps that memory usage information of an instance in an online redis application is obtained, and based on the memory usage information, it is judged that memory usage of the red...
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 provides a redis memory capacity changing method and device and electronic device.The method comprises the steps that memory usage information of an instance in an online redis application is obtained, and based on the memory usage information, it is judged that memory usage of the redis application meets changing conditions, and the changing conditions include that the memory usage rate reaches a preset usage rate threshold value, and if the memory usage rate reaches the preset usage rate threshold value, the memory usage rate reaches the preset usage rate threshold value; the capacity change value is obtained based on the memory use information and the preset capacity change parameter, and the memory of the redis application is changed by executing the capacity change command carrying the capacity change value, so that manual monitoring is reduced, the problem that manual discovery or processing is not timely is avoided, the situation that manual processing may make mistakes is avoided, and th |
---|