Skip to content

feat(taskbroker): Add Bucket Column to Activation Table#577

Draft
james-mcnulty wants to merge 1 commit intomainfrom
george/push-taskbroker/add-bucket-column
Draft

feat(taskbroker): Add Bucket Column to Activation Table#577
james-mcnulty wants to merge 1 commit intomainfrom
george/push-taskbroker/add-bucket-column

Conversation

@james-mcnulty
Copy link
Member

Linear

Completes STREAM-823

Description

Currently, taskworkers pull tasks from taskbrokers via RPC. This approach works, but has some drawbacks. Therefore, we want taskbrokers to push tasks to taskworkers instead. Read this page on Notion for more information.

This PR adds a bucket column to the activation table and a composite index on (status, bucket) to reduce contention between fetch threads.

@linear-code
Copy link

linear-code bot commented Mar 19, 2026

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