Skip to content

batch coder agent metadata #9782

@johnstcn

Description

@johnstcn

We currently do not batch agent metadata. This causes a fair number of requests and DB load. Our documentation even has a formula for how much DB load a number of metadata would generate.

You can expect (10 * 6 * 2) / 4 or 30 writes per second.

There are a couple of ways we could optimize this:

  • Batch metadata on the agent side and only send them when there is new data
  • Batch metadata on the coderd side (similar to what we do for agent stats)

Metadata

Metadata

Assignees

Labels

apiArea: HTTP APIs4Internal bugs (e.g. test flakes), extreme edge cases, and bug risks

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy