Skip to content

Make status reporter asynchronous #1014

Open
@mpstefan

Description

@mpstefan

Currently, the NKG status updater is synchronous, which means the status reporter can slow down the event loop.

Consider the following cases:

(a) Sometimes the Gateway will need to update statuses of all resources it handles, which could be ~1000. Making 1000
status API calls sequentially will take time.

(b) k8s API can become slow or even timeout. This will increase every update status API call.
Making updaterImpl asynchronous will prevent it from adding variable delays to the event loop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/performancePerformance relatedbacklogCurrently unprioritized work. May change with user feedback or as the product progresses.

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions