I discovered a problem: if you have a lot of SNMP metrics, your connection will be blocked until you have the necessary time to obtain responses.
Can a caching layer with Redis-based key expiration be added?
This can lessen the quantity of data that is retrieved, and it's likely that some metrics can be obtained with varying delays.
Additionally, the mechanism of obtaining metrics can be reviewed. For instance, if we first queryed an endpoint to obtain metrics, the system will automatically set up on-demand metrics retrieval and use Redis to store data. The metrics can then be returned from cache during the subsequent request.
I discovered a problem: if you have a lot of SNMP metrics, your connection will be blocked until you have the necessary time to obtain responses.
Can a caching layer with Redis-based key expiration be added?
This can lessen the quantity of data that is retrieved, and it's likely that some metrics can be obtained with varying delays.
Additionally, the mechanism of obtaining metrics can be reviewed. For instance, if we first queryed an endpoint to obtain metrics, the system will automatically set up on-demand metrics retrieval and use Redis to store data. The metrics can then be returned from cache during the subsequent request.