Thread
#announcements
    Viktor Gerdin

    Viktor Gerdin

    4 months ago
    Hello! We have a webapi plugin and would like to control the rate of how often propeller calls the
    Status()
    hook [interface explained]. We have noticed that this is very much depending on load. During low (normal) load
    Status()
    is called multiple times per second. The
    Get()
    hook is only executed once every 30s, so we consider any rate of
    Status()
    higher than 15s to be a waste. The webapi
    PluginConfig
    contains configurations for a
    ReadRateLimiter
    and
    WriteRateLimiter
    [github] which I am unable to find being used in either propeller nor plugin machinery. We are not experiencing any throttling from the external API, only that the
    Status()
    rate is very high. Anyone have any pointers where to go from here?
    Ketan (kumare3)

    Ketan (kumare3)

    4 months ago
    Status should be a simple inMemory read. The actual work is done in get
    The status is a way propeller maintains state and I think it should be unrestricted
    Why does status call matter?
    Viktor Gerdin

    Viktor Gerdin

    4 months ago
    Correct, and that is how the plugin is implemented, however every status call still spins up k8s workers needlessly.
    There is network coms, resources are updated
    Ketan (kumare3)

    Ketan (kumare3)

    4 months ago
    There should be no network right?