René's URL Explorer Experiment


Title: feat(batch-queue): two-level tenant dispatch for fair queue by ericallam · Pull Request #3133 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: feat(batch-queue): two-level tenant dispatch for fair queue by ericallam · Pull Request #3133 · triggerdotdev/trigger.dev

X Title: feat(batch-queue): two-level tenant dispatch for fair queue by ericallam · Pull Request #3133 · triggerdotdev/trigger.dev

Description: Replace flat master queue index with two-level tenant dispatch to fix noisy neighbor problem. When a tenant has many queues at capacity, the scheduler now iterates tenants (Level 1) not queues, then fetches per-tenant queues (Level 2) only for eligible tenants. Single-deploy migration: new enqueues write to dispatch indexes only, consumer drains old master queue alongside new dispatch path until empty.

Open Graph Description: Replace flat master queue index with two-level tenant dispatch to fix noisy neighbor problem. When a tenant has many queues at capacity, the scheduler now iterates tenants (Level 1) not queues, the...

X Description: Replace flat master queue index with two-level tenant dispatch to fix noisy neighbor problem. When a tenant has many queues at capacity, the scheduler now iterates tenants (Level 1) not queues, the...

Opengraph URL: https://github.com/triggerdotdev/trigger.dev/pull/3133

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:5a77bb73-9956-2dd3-312a-4fb92a3e28de
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCA12:375283:A63A13:E973A9:6AFB77E3
html-safe-nonce5c0e24a74b766f79e13c6f44faf1a18f384748155b51759d15b6d568661d385d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTEyOjM3NTI4MzpBNjNBMTM6RTk3M0E5OjZBRkI3N0UzIiwidmlzaXRvcl9pZCI6Ijc5NzUxNDk5MTI3MzM3NDMwNzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac8daf2c76e9cbd0b58dd3d0c8f84335593b75d62e6e0082c9ca2d21329806d593
hovercard-subject-tagpull_request:3328130148
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/triggerdotdev/trigger.dev/pull/3133/files
twitter:imagehttps://avatars.githubusercontent.com/u/534?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/534?s=400&v=4
og:image:altReplace flat master queue index with two-level tenant dispatch to fix noisy neighbor problem. When a tenant has many queues at capacity, the scheduler now iterates tenants (Level 1) not queues, the...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0e29e7974fdda2feeaf5c891efd4b23b0734b23480232b62c7bdef13f40b5b48
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git
octolytics-dimension-user_id95297378
octolytics-dimension-user_logintriggerdotdev
octolytics-dimension-repository_id572570113
octolytics-dimension-repository_nwotriggerdotdev/trigger.dev
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id572570113
octolytics-dimension-repository_network_root_nwotriggerdotdev/trigger.dev
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2e8872b770cc4d5d0cc1f2026afab747a268e2ce
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/pull/3133/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F3133%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F3133%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=triggerdotdev%2Ftrigger.dev
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/3133/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/3133/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/3133/files
triggerdotdevhttps://github.com/triggerdotdev
trigger.devhttps://github.com/triggerdotdev/trigger.dev
Codehttps://github.com/triggerdotdev/trigger.dev
Issues203 (203)https://github.com/triggerdotdev/trigger.dev/issues
Pull requests67 (67)https://github.com/triggerdotdev/trigger.dev/pulls
Discussionshttps://github.com/triggerdotdev/trigger.dev/discussions
Actionshttps://github.com/triggerdotdev/trigger.dev/actions
Projectshttps://github.com/triggerdotdev/trigger.dev/projects
Security and quality39 (39)https://github.com/triggerdotdev/trigger.dev/security
Insightshttps://github.com/triggerdotdev/trigger.dev/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
ericallamhttps://github.com/ericallam
mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
feature/tri-7082-batch-queue-fair-queue-architecture-changehttps://github.com/triggerdotdev/trigger.dev/tree/feature/tri-7082-batch-queue-fair-queue-architecture-change
Conversation 20 https://github.com/triggerdotdev/trigger.dev/pull/3133
Commits 9 https://github.com/triggerdotdev/trigger.dev/pull/3133/commits
Checks 41 https://github.com/triggerdotdev/trigger.dev/pull/3133/checks
Files changed https://github.com/triggerdotdev/trigger.dev/pull/3133/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3133/files
feat(batch-queue): two-level tenant dispatch for fair queue https://github.com/triggerdotdev/trigger.dev/pull/3133/files#top
Show all changes 9 commits https://github.com/triggerdotdev/trigger.dev/pull/3133/files
6aa8954 feat: two-level tenant dispatch for fair queue (TRI-7082) ericallam Feb 25, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3133/commits/6aa895402ace1c7171c1584d888de89bd4feec97
e1604f7 safer legacy master queue draining ericallam Feb 25, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3133/commits/e1604f7ac9a0b0b336f372ea064670a38fa3d875
a7c1b4a fix: update visibility manager release/reclaim to use dispatch indexes ericallam Feb 26, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3133/commits/a7c1b4a2aa92437e9f33afc8151b8ca2fe3d0cfe
8d0a826 test: add release/reclaim dispatch index tests and legacy migration t… ericallam Feb 26, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3133/commits/8d0a826ef38129b7fca52f6c17e22223632a1ba1
d79ca44 fix: fallback dispatch scheduler was reading empty master queue ericallam Feb 26, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3133/commits/d79ca44b8b658b613d70bc592fe34f65408e8c19
4a62c4b typecheck fixes ericallam Feb 26, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3133/commits/4a62c4b20aba925b0818f64e508c2e2cc35e4fa4
b855e48 Better DRR efficiency and making sure selection is fair ericallam Feb 26, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3133/commits/b855e489f013e963e44b799c9b93b3af8105b84b
af54cdf fix: dispatch index shard must be tenant-based, not queue-based ericallam Feb 26, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3133/commits/af54cdffbc6d36e9b65c17d4d135c8b1766b787f
321b462 chore: add server changes file for dispatch shard fix ericallam Feb 26, 2026 https://github.com/triggerdotdev/trigger.dev/pull/3133/commits/321b462aa4f7c7508bf3950c1b9173ffe2aafb4e
Clear filters https://github.com/triggerdotdev/trigger.dev/pull/3133/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3133/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3133/files
fix-dispatch-shard-tenant-based.md https://github.com/triggerdotdev/trigger.dev/pull/3133/files#diff-260ffebdb2bddf40abf38d03d4106d4969db17c74ff5e60413aaddc34375d592
index.ts https://github.com/triggerdotdev/trigger.dev/pull/3133/files#diff-71f1c15fc5900a4ef63735b95c96f6a4023481b45ef011a47310d1d21f678223
keyProducer.ts https://github.com/triggerdotdev/trigger.dev/pull/3133/files#diff-1c01a78bbbe03868ddb811e3d9bbf65d3aec5c6d779e6a27c47641cca8938db8
drr.ts https://github.com/triggerdotdev/trigger.dev/pull/3133/files#diff-e6f9aff75939c92c8ddea1868d6b2d41a5df61706a26f10064f8d17f92a75ee0
telemetry.ts https://github.com/triggerdotdev/trigger.dev/pull/3133/files#diff-7e4bd582ae6f514d5342ed9c11a9c52f23f7606e58132f210754f231c367948f
tenantDispatch.ts https://github.com/triggerdotdev/trigger.dev/pull/3133/files#diff-b809e2b3f27737e906666dda0fe4064c130b8e989697484c7260a2289719ce60
raceConditions.test.ts https://github.com/triggerdotdev/trigger.dev/pull/3133/files#diff-ddbb50584cf91137faecdf2f851c68bd1abf1557bf421040c430ffcda44e6686
tenantDispatch.test.ts https://github.com/triggerdotdev/trigger.dev/pull/3133/files#diff-3c32a9eb43c7e894c28c48f033991c0019d7a32d39e25aaa43d01e95cac53dc5
visibility.test.ts https://github.com/triggerdotdev/trigger.dev/pull/3133/files#diff-350d6e943698a810aeb203430ad70c237854b978707143eb699a1745a8b31da3
types.ts https://github.com/triggerdotdev/trigger.dev/pull/3133/files#diff-59cdfd5be4629d05371b9f5ce798a5188f0b40af733b2359360915968f79d4f5
visibility.ts https://github.com/triggerdotdev/trigger.dev/pull/3133/files#diff-b11e57d16be2c4d56d20a6df685359b3fafb312bec7475ded648fc8723e3309d
enhance-release-pr.mjs https://github.com/triggerdotdev/trigger.dev/pull/3133/files#diff-daf6d5d901d544bcccc0223cf37ec0fe3e48834ce6f66702285cf32d65a53930
.server-changes/fix-dispatch-shard-tenant-based.mdhttps://github.com/triggerdotdev/trigger.dev/pull/3133/files#diff-260ffebdb2bddf40abf38d03d4106d4969db17c74ff5e60413aaddc34375d592
View file https://github.com/triggerdotdev/trigger.dev/blob/321b462aa4f7c7508bf3950c1b9173ffe2aafb4e/.server-changes/fix-dispatch-shard-tenant-based.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/3133/{{ revealButtonHref }}
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/3133/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.