Skip to content

Improve performance and adding caching layer #1616

Description

@KVInventoR

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions