René's URL Explorer Experiment


Title: Prefetch tasks in per-process batches by codingjoe · Pull Request #65 · codingjoe/threadmill · GitHub

Open Graph Title: Prefetch tasks in per-process batches by codingjoe · Pull Request #65 · codingjoe/threadmill

X Title: Prefetch tasks in per-process batches by codingjoe · Pull Request #65 · codingjoe/threadmill

Description: Durable high-performance backend for Django's task framework. - Prefetch tasks in per-process batches by codingjoe · Pull Request #65 · codingjoe/threadmill

Open Graph Description: Each task cost two Redis round-trips on the worker's critical path, so for fast tasks a worker thread spent more wall-clock waiting on the broker than running work. acquire grows a count and r...

X Description: Each task cost two Redis round-trips on the worker's critical path, so for fast tasks a worker thread spent more wall-clock waiting on the broker than running work. acquire grows a count a...

Opengraph URL: https://github.com/codingjoe/threadmill/pull/65

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:4ae33177-507b-4e3b-99a4-7e5515de5645
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC4CA:23AE4E:1FA02EC:29DF6E6:6B0572AC
html-safe-nonce305e47fef4aab0701bdaae1c2a1aef44058228bfa026f67e82330057f9b881e1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNENBOjIzQUU0RToxRkEwMkVDOjI5REY2RTY6NkIwNTcyQUMiLCJ2aXNpdG9yX2lkIjoiNTU0NTA3MjY3NjY3NjM5OTc4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace228d71ceea1138138bbf4f5c3ebbbe31511f260766057747f084cdc8120ef8d
hovercard-subject-tagpull_request:4702617191
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/codingjoe/threadmill/65/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5a96bd6cf3c5ca905748cc7d297d1154b67e1ba3b5b97f4c0608765584c11b0e/codingjoe/threadmill/pull/65
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5a96bd6cf3c5ca905748cc7d297d1154b67e1ba3b5b97f4c0608765584c11b0e/codingjoe/threadmill/pull/65
og:image:altEach task cost two Redis round-trips on the worker's critical path, so for fast tasks a worker thread spent more wall-clock waiting on the broker than running work. acquire grows a count and r...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecodingjoe
hostnamegithub.com
expected-hostnamegithub.com
None9b4256ac5f3e310e7945ef5b71c9cb9e264357b1eb20e91d369ed6502a4c486c
turbo-cache-controlno-cache
go-importgithub.com/codingjoe/threadmill git https://github.com/codingjoe/threadmill.git
octolytics-dimension-user_id1772890
octolytics-dimension-user_logincodingjoe
octolytics-dimension-repository_id1217306527
octolytics-dimension-repository_nwocodingjoe/threadmill
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1217306527
octolytics-dimension-repository_network_root_nwocodingjoe/threadmill
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef089e689ad324655ac44bf6cdbc04d976105b374
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/codingjoe/threadmill/pull/65#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcodingjoe%2Fthreadmill%2Fpull%2F65
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%2Fcodingjoe%2Fthreadmill%2Fpull%2F65
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=codingjoe%2Fthreadmill
Reloadhttps://github.com/codingjoe/threadmill/pull/65
Reloadhttps://github.com/codingjoe/threadmill/pull/65
Reloadhttps://github.com/codingjoe/threadmill/pull/65
codingjoehttps://github.com/codingjoe
threadmillhttps://github.com/codingjoe/threadmill
Codehttps://github.com/codingjoe/threadmill
Issueshttps://github.com/codingjoe/threadmill/issues
Pull requestshttps://github.com/codingjoe/threadmill/pulls
Discussionshttps://github.com/codingjoe/threadmill/discussions
Actionshttps://github.com/codingjoe/threadmill/actions
Security and qualityhttps://github.com/codingjoe/threadmill/security
Insightshttps://github.com/codingjoe/threadmill/pulse
https://github.com/codingjoe/threadmill
codingjoehttps://github.com/codingjoe
mainhttps://github.com/codingjoe/threadmill/tree/main
codingjoe-task-prefetchinghttps://github.com/codingjoe/threadmill/tree/codingjoe-task-prefetching
Conversationhttps://github.com/codingjoe/threadmill/pull/65
Commits27 (27)https://github.com/codingjoe/threadmill/pull/65/commits
Checkshttps://github.com/codingjoe/threadmill/pull/65/checks
Files changedhttps://github.com/codingjoe/threadmill/pull/65/files
Prefetch tasks in per-process batcheshttps://github.com/codingjoe/threadmill/pull/65#top
codingjoehttps://github.com/codingjoe
mainhttps://github.com/codingjoe/threadmill/tree/main
codingjoe-task-prefetchinghttps://github.com/codingjoe/threadmill/tree/codingjoe-task-prefetching
https://github.com/codingjoe
codingjoehttps://github.com/codingjoe
Oct 1, 2026https://github.com/codingjoe/threadmill/pull/65#issue-5660925754
Please reload this pagehttps://github.com/codingjoe/threadmill/pull/65
Please reload this pagehttps://github.com/codingjoe/threadmill/pull/65
codingjoehttps://github.com/codingjoe
October 1, 2026 12:37https://github.com/codingjoe/threadmill/pull/65#commits-pushed-02c168f
https://github.com/codingjoe
Prefetch tasks in per-process batcheshttps://github.com/codingjoe/threadmill/pull/65/commits/02c168f39df1286036e7618416c8ea4f64cadf74
02c168fhttps://github.com/codingjoe/threadmill/pull/65/commits/02c168f39df1286036e7618416c8ea4f64cadf74
https://github.com/codingjoe
Add dramatiq to the benchmark and refresh the charthttps://github.com/codingjoe/threadmill/pull/65/commits/e0654ba5eb0b9934a8a2283329a1afd5588493b5
e0654bahttps://github.com/codingjoe/threadmill/pull/65/commits/e0654ba5eb0b9934a8a2283329a1afd5588493b5
https://github.com/codingjoe
Measure each queue at its own default read-aheadhttps://github.com/codingjoe/threadmill/pull/65/commits/dc8665f02666d89881b4c91c299ceb7a12a49e12
dc8665fhttps://github.com/codingjoe/threadmill/pull/65/commits/dc8665f02666d89881b4c91c299ceb7a12a49e12
https://github.com/codingjoe
Measure every queue at the same read-aheadhttps://github.com/codingjoe/threadmill/pull/65/commits/71aa0895143fc3ca49bd223a01edf2a841f5f9c1
71aa089https://github.com/codingjoe/threadmill/pull/65/commits/71aa0895143fc3ca49bd223a01edf2a841f5f9c1
https://github.com/codingjoe
Read 128 messages ahead in the queue comparisonhttps://github.com/codingjoe/threadmill/pull/65/commits/bab323faa850eda5173f65f10b16e378d7c3646d
bab323fhttps://github.com/codingjoe/threadmill/pull/65/commits/bab323faa850eda5173f65f10b16e378d7c3646d
https://github.com/codingjoe
Delete the dramatiq results the benchmark now writeshttps://github.com/codingjoe/threadmill/pull/65/commits/6a13e134ae97bb24730c1e9362957bad2beaf9a1
6a13e13https://github.com/codingjoe/threadmill/pull/65/commits/6a13e134ae97bb24730c1e9362957bad2beaf9a1
https://github.com/codingjoe
Merge remote-tracking branch 'origin/main' into codingjoe-task-prefet…https://github.com/codingjoe/threadmill/pull/65/commits/cd36fc293d4dbe05c10ea834d1e5517da70b4c33
cd36fc2https://github.com/codingjoe/threadmill/pull/65/commits/cd36fc293d4dbe05c10ea834d1e5517da70b4c33
https://github.com/codingjoe
Refresh the chart after the mergehttps://github.com/codingjoe/threadmill/pull/65/commits/f0192a8db247693428719aa03f7e7fbb75c92ea4
f0192a8https://github.com/codingjoe/threadmill/pull/65/commits/f0192a8db247693428719aa03f7e7fbb75c92ea4
https://github.com/codingjoe
Buffer prefetched tasks in a priority queuehttps://github.com/codingjoe/threadmill/pull/65/commits/385a28a986268699e567b5b75b610746459c0dbb
385a28ahttps://github.com/codingjoe/threadmill/pull/65/commits/385a28a986268699e567b5b75b610746459c0dbb
https://github.com/codingjoe
Document the buffer's lease dwell instead of planning a fixhttps://github.com/codingjoe/threadmill/pull/65/commits/3c95fd7d4a7472ee0d88e5cf347e3d23d04307db
3c95fd7https://github.com/codingjoe/threadmill/pull/65/commits/3c95fd7d4a7472ee0d88e5cf347e3d23d04307db
https://github.com/codingjoe
Scope the wait timeout and simplify the prefetch derivationhttps://github.com/codingjoe/threadmill/pull/65/commits/178b7f2dcd07b5dd5aa372fcf53ff59b7bb607d6
178b7f2https://github.com/codingjoe/threadmill/pull/65/commits/178b7f2dcd07b5dd5aa372fcf53ff59b7bb607d6
https://github.com/codingjoe
Drop the worker startup loghttps://github.com/codingjoe/threadmill/pull/65/commits/6db87c9993c9ccada56e38911eaa89ae5f5501ca
6db87c9https://github.com/codingjoe/threadmill/pull/65/commits/6db87c9993c9ccada56e38911eaa89ae5f5501ca
https://github.com/codingjoe
Let the worker budget stop the fetcher on its ownhttps://github.com/codingjoe/threadmill/pull/65/commits/e36bd01c98bbe95fa94209c9222e6a83e01f249a
e36bd01https://github.com/codingjoe/threadmill/pull/65/commits/e36bd01c98bbe95fa94209c9222e6a83e01f249a
https://github.com/codingjoe
Order the buffered task results themselveshttps://github.com/codingjoe/threadmill/pull/65/commits/8d3e9f2924ce44c33c398d2aecacfcaabc24178f
8d3e9f2https://github.com/codingjoe/threadmill/pull/65/commits/8d3e9f2924ce44c33c398d2aecacfcaabc24178f
https://github.com/codingjoe
Rewrite the new docstrings in simplified technical Englishhttps://github.com/codingjoe/threadmill/pull/65/commits/880209771405a84bb6ff9483617db846d7105b58
8802097https://github.com/codingjoe/threadmill/pull/65/commits/880209771405a84bb6ff9483617db846d7105b58
https://github.com/codingjoe
Trim the prefetch section of the READMEhttps://github.com/codingjoe/threadmill/pull/65/commits/981762bb3beb362c6a9b0e31cef175f864cc25e3
981762bhttps://github.com/codingjoe/threadmill/pull/65/commits/981762bb3beb362c6a9b0e31cef175f864cc25e3
https://github.com/codingjoe
Drop the comparison docstringhttps://github.com/codingjoe/threadmill/pull/65/commits/804b2b297116d0179dd1e42751a5d831062a1e9c
804b2b2https://github.com/codingjoe/threadmill/pull/65/commits/804b2b297116d0179dd1e42751a5d831062a1e9c
https://github.com/codingjoe
Move the fetch loop into its own methodhttps://github.com/codingjoe/threadmill/pull/65/commits/8ee65d529ac79212112275c0e3c1e5e8961edac4
8ee65d5https://github.com/codingjoe/threadmill/pull/65/commits/8ee65d529ac79212112275c0e3c1e5e8961edac4
https://github.com/codingjoe
Hand the prefetch outcome over with one futurehttps://github.com/codingjoe/threadmill/pull/65/commits/c8ac2f426e376504536601d6eb95bf5fdc87ed46
c8ac2f4https://github.com/codingjoe/threadmill/pull/65/commits/c8ac2f426e376504536601d6eb95bf5fdc87ed46
https://github.com/codingjoe
Reduce the prefetch note to one paragraphhttps://github.com/codingjoe/threadmill/pull/65/commits/1bd3f8a5b67186b04004f122fa8c5aad5254c1fa
1bd3f8ahttps://github.com/codingjoe/threadmill/pull/65/commits/1bd3f8a5b67186b04004f122fa8c5aad5254c1fa
https://github.com/codingjoe
Work buffered tasks off in lease orderhttps://github.com/codingjoe/threadmill/pull/65/commits/5d46ecbbe5959ab1721efdbe19ade978003e8c01
5d46ecbhttps://github.com/codingjoe/threadmill/pull/65/commits/5d46ecbbe5959ab1721efdbe19ade978003e8c01
https://github.com/codingjoe
Trim the prefetch flag helphttps://github.com/codingjoe/threadmill/pull/65/commits/97f4619184bd8c05adf79f68928d937b9531bd39
97f4619https://github.com/codingjoe/threadmill/pull/65/commits/97f4619184bd8c05adf79f68928d937b9531bd39
https://github.com/codingjoe
Resolve the completion future on every exit pathhttps://github.com/codingjoe/threadmill/pull/65/commits/ea9b8d2d1a5d35d89b3136e884f2a1e9c6c968b8
ea9b8d2https://github.com/codingjoe/threadmill/pull/65/commits/ea9b8d2d1a5d35d89b3136e884f2a1e9c6c968b8
https://github.com/codingjoe
Drop the comment on the completion guardhttps://github.com/codingjoe/threadmill/pull/65/commits/a96fb49905d1a106dfbbb4a6cb8ac9aa2f401f66
a96fb49https://github.com/codingjoe/threadmill/pull/65/commits/a96fb49905d1a106dfbbb4a6cb8ac9aa2f401f66
https://github.com/codingjoe
Drop the prefetch paragraphhttps://github.com/codingjoe/threadmill/pull/65/commits/b6b6a5f399da16c5c0015004ef200364e7dee81f
b6b6a5fhttps://github.com/codingjoe/threadmill/pull/65/commits/b6b6a5f399da16c5c0015004ef200364e7dee81f
https://github.com/codingjoe
Spawn the child in the prefetch failure testshttps://github.com/codingjoe/threadmill/pull/65/commits/38c558d7e2fe5abf5d911bd43bb7f751322047b6
38c558dhttps://github.com/codingjoe/threadmill/pull/65/commits/38c558d7e2fe5abf5d911bd43bb7f751322047b6
https://github.com/codingjoe
Refresh the comparison chartshttps://github.com/codingjoe/threadmill/pull/65/commits/dc339844384b3cf466d70bbc78bcd08a839e6f9f
dc33984https://github.com/codingjoe/threadmill/pull/65/commits/dc339844384b3cf466d70bbc78bcd08a839e6f9f
https://github.com/codingjoe
codingjoehttps://github.com/codingjoe
October 7, 2026 21:01https://github.com/codingjoe/threadmill/pull/65#event-32726249653
https://github.com/codingjoe
codingjoehttps://github.com/codingjoe
655f8a6https://github.com/codingjoe/threadmill/commit/655f8a6778c837c8f8e331078906fbad7863dd29
Oct 7, 2026https://github.com/codingjoe/threadmill/pull/65#event-32726285010
Please reload this pagehttps://github.com/codingjoe/threadmill/pull/65
https://github.com/codingjoe
codingjoehttps://github.com/codingjoe
October 7, 2026 21:02https://github.com/codingjoe/threadmill/pull/65#event-32726287436
https://github.com/codingjoe
codingjoehttps://github.com/codingjoe
Nov 19, 2026 https://github.com/codingjoe/threadmill/pull/65#ref-issue-6492502742
A poison payload crashes the worker process and strands the leased batch #121 https://github.com/codingjoe/threadmill/issues/121
https://github.co/hiddenchars
https://github.com/codingjoe/threadmill/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcodingjoe%2Fthreadmill%2Fpull%2F65
Please reload this pagehttps://github.com/codingjoe/threadmill/pull/65
Please reload this pagehttps://github.com/codingjoe/threadmill/pull/65
https://github.com/codingjoe
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.