Skip to content

Conversation

@anvh2
Copy link

@anvh2 anvh2 commented Mar 4, 2025

🧠 Rationale behind the change
In our production environment, we need to manage agents registered with LivekitServer. Through load testing, we can determine how many jobs a single agent worker can handle. Therefore, before dispatching an agent to a room, we want to check the availability of the agent.
However, the agent state is managed per LivekitServer instance, and we cannot retrieve all agent workers from the cluster. To address this, we plan to poll the agent state from all nodes and cache that state with a TTL in our dispatch service.

@changeset-bot
Copy link

changeset-bot bot commented Mar 4, 2025

🦋 Changeset detected

Latest commit: 81d4bf4

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

💥 An error occurred when fetching the changed packages and changesets in this PR
Some errors occurred when validating the changesets config:
The package or glob expression "github.com/livekit/protocol" specified in the `fixed` option does not match any package in the project. You may have misspelled the package name or provided an invalid glob expression. Note that glob expressions must be defined according to https://www.npmjs.com/package/micromatch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant