René's URL Explorer Experiment


Title: impl(id): group-commit batching for world journal appends — one sync per queued input batch (#7064 follow-on) · Issue #8239 · developing-today/code · GitHub

Open Graph Title: impl(id): group-commit batching for world journal appends — one sync per queued input batch (#7064 follow-on) · Issue #8239 · developing-today/code

X Title: impl(id): group-commit batching for world journal appends — one sync per queued input batch (#7064 follow-on) · Issue #8239 · developing-today/code

Description: Follow-on from task 12126 profiling (issue #7064, #557 remainder). Profiling verdict recorded on issue #7064: the many_worlds ack path is capped by per-append fdatasync — FileJournal::append (pkgs/id/src/world_store.rs) does write_all + ...

Open Graph Description: Follow-on from task 12126 profiling (issue #7064, #557 remainder). Profiling verdict recorded on issue #7064: the many_worlds ack path is capped by per-append fdatasync — FileJournal::append (pkgs/...

X Description: Follow-on from task 12126 profiling (issue #7064, #557 remainder). Profiling verdict recorded on issue #7064: the many_worlds ack path is capped by per-append fdatasync — FileJournal::append (pkgs/...

Opengraph URL: https://github.com/developing-today/code/issues/8239

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"impl(id): group-commit batching for world journal appends — one sync per queued input batch (#7064 follow-on)","articleBody":"Follow-on from task 12126 profiling (issue #7064, #557 remainder). Profiling verdict recorded on issue #7064: the many_worlds ack path is capped by per-append fdatasync — `FileJournal::append` (pkgs/id/src/world_store.rs) does write_all + sync_data inline in the world actor's persist() (pkgs/id/src/world/actor.rs), unit cost 5.18 ms median sequential (repo bench journal_append_fsync), and concurrent fdatasync across 100 journal files on ext4 aggregates only ~0.85–1.5k syncs/s — below the 2,000/s offered load, so queueing delay, not service time, dominates p99 (5,650 ms vs 50 ms target).\n\n## Scope\n\nImplement ack batching (group commit) for world inputs so one sync_data covers a batch of queued inputs per world, preserving durability-before-ack for every command:\n\n- Journal: add `append_batch(&[JournalEntry])` to the WorldJournal trait (default = per-entry append loop); FileJournal override = one concatenated write_all + one sync_data, falling back to per-entry append when any entry requires a header version bump.\n- Actor: when the command loop receives an unsigned Input, drain already-queued unsigned Inputs (bounded, e.g. 64; stop at the first non-Input and hold it for the next loop iteration), stage them in order, persist the batch once, then commit and reply in order.\n\n## Invariants the implementation must respect (found in profiling, do not rediscover)\n\n- `prepare_input` assigns sequence = core.sequence + 1 without advancing it: batch staging must assign sequences explicitly in order (a prepare-at-sequence variant) or commits fail \"prepared world event is stale\".\n- `ensure_uses_left` is checked at prepare time but `spend` happens at commit: a batch from one participant must account for staged spends, or it over-admits past the uses limit.\n- program.update runs before persist today; a mid-batch program rejection marks the program unhealthy and later inputs must see today's exact error semantics — stage in order, stop at the first failure, commit the staged prefix, and route the failed + remaining inputs through the single-command path.\n- append_transaction is NOT the batch primitive: it rewrites the whole journal via compact (O(journal size)) and exists for builder-install atomicity.\n\n## Acceptance\n\n- cargo test -p id --lib green (world actor + journal tests, plus new batch tests: batch of N inputs = N events, one sync; mid-batch program rejection semantics unchanged).\n- Full world_bench run on the reference laptop recorded in pkgs/id/benches/baseline.txt + BASELINES.md showing the many_worlds p99 movement vs the 5,650.792 ms line; issue #557 stays open until a recorded run shows target_met=true.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-10T20:33:20Z","url":"https://github.com/developing-today/code/issues/8239"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5868f722-d6c4-b404-e7eb-85501d2f229e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCEC8:107A1:9B93D1:CA542B:6B06349E
html-safe-nonce44c7d1a35d752573461fe61ec0fe6983b038a25ffa5799e901046facca079ec6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRUM4OjEwN0ExOjlCOTNEMTpDQTU0MkI6NkIwNjM0OUUiLCJ2aXNpdG9yX2lkIjoiODUyMTc5NTY2Nzc4ODk2OTExOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacedaae3bade0b52aa7d0c1ed0b07e05d2deec8a9827135531a92fd8ca67c81f5c
hovercard-subject-tagissue:6315304953
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/8239/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7c321824c94c547182a0b67fe2b7a99c94367cb005461add5dda6a12c81e37da/developing-today/code/issues/8239
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7c321824c94c547182a0b67fe2b7a99c94367cb005461add5dda6a12c81e37da/developing-today/code/issues/8239
og:image:altFollow-on from task 12126 profiling (issue #7064, #557 remainder). Profiling verdict recorded on issue #7064: the many_worlds ack path is capped by per-append fdatasync — FileJournal::append (pkgs/...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
Nonec3584c853cd39700ecff6e2cf8364295ffdb5313e571046c41cd2479270f7df0
turbo-cache-controlno-preview
go-importgithub.com/developing-today/code git https://github.com/developing-today/code.git
octolytics-dimension-user_id26439447
octolytics-dimension-user_logindeveloping-today
octolytics-dimension-repository_id627308783
octolytics-dimension-repository_nwodeveloping-today/code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627308783
octolytics-dimension-repository_network_root_nwodeveloping-today/code
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
release9eb3bb1597d09170a5f282cd38ae376dee1a5ec1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/8239#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F8239
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%2Fdeveloping-today%2Fcode%2Fissues%2F8239
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=developing-today%2Fcode
Reloadhttps://github.com/developing-today/code/issues/8239
Reloadhttps://github.com/developing-today/code/issues/8239
Reloadhttps://github.com/developing-today/code/issues/8239
developing-todayhttps://github.com/developing-today
codehttps://github.com/developing-today/code
Codehttps://github.com/developing-today/code
Issues1.1k (1.1k)https://github.com/developing-today/code/issues
Pull requests152 (152)https://github.com/developing-today/code/pulls
Discussionshttps://github.com/developing-today/code/discussions
Actionshttps://github.com/developing-today/code/actions
Projectshttps://github.com/developing-today/code/projects
Wikihttps://github.com/developing-today/code/wiki
Security and qualityhttps://github.com/developing-today/code/security
Insightshttps://github.com/developing-today/code/insights
https://github.com/developing-today/code
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/8239
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/8239
impl(id): group-commit batching for world journal appends — one sync per queued input batch (#7064 follow-on)https://github.com/developing-today/code/issues/8239#top
https://github.com/dezren39
effort/mhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22effort%2Fm%22
epic/id-programhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22epic%2Fid-program%22
kind/enhancementhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fenhancement%22
priority/highhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fhigh%22
status:donehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Adone%22
task/small-fixhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Fsmall-fix%22
ID platform programhttps://github.com/developing-today/code/milestone/3
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 10, 2026https://github.com/developing-today/code/issues/8239#issue-6315304953
#7064https://github.com/developing-today/code/issues/7064
#557https://github.com/developing-today/code/issues/557
#7064https://github.com/developing-today/code/issues/7064
id(world): F12.12 many worlds per node: 1,000 idle / 100 active with a per-world memory budget #557https://github.com/developing-today/code/issues/557
https://github.com/apps/developing-today
developing-todayhttps://github.com/apps/developing-today
on Nov 10, 2026https://github.com/developing-today/code/issues/8239#issuecomment-6778566740
developing.todayhttps://kaneo.security.cab
CODE-2445https://kaneo.security.cab/dashboard/workspace/6oQgIkST0YGrCcxrnhbHPOUCfgdD3cqE/project/pfcq432h349r20up18gttfv4/task/yvkta8c94prn297yii0xsswr
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 10, 2026https://github.com/developing-today/code/issues/8239#issuecomment-6780405945
#7064https://github.com/developing-today/code/issues/7064
#7064https://github.com/developing-today/code/issues/7064
#8316https://github.com/developing-today/code/issues/8316
dezren39https://github.com/dezren39
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
epic/id-programhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22epic%2Fid-program%22
on Nov 10, 2026https://github.com/developing-today/code/issues/8239#event-35734415878
dezren39https://github.com/dezren39
ID platform programhttps://github.com/developing-today/code/milestone/3
on Nov 12, 2026https://github.com/developing-today/code/issues/8239#event-35884260755
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
on Nov 12, 2026https://github.com/developing-today/code/issues/8239#event-35913395813
dezren39https://github.com/dezren39
on Nov 14, 2026https://github.com/developing-today/code/issues/8239#event-36136689367
bench(id): many_worlds re-measurement after #8316 (#7064) (#10002)https://github.com/developing-today/code/commit/ad1cdb5d88dd4e77b37d635bedafaa1cf55e18c9
#8316https://github.com/developing-today/code/issues/8316
#7064https://github.com/developing-today/code/issues/7064
#10002https://github.com/developing-today/code/pull/10002
ad1cdb5https://github.com/developing-today/code/commit/ad1cdb5d88dd4e77b37d635bedafaa1cf55e18c9
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 17, 2026https://github.com/developing-today/code/issues/8239#issuecomment-6937699096
id(world): many_worlds p99 latency 5,650.792 ms vs 50 ms target — profile and reduce (#557 remainder) #7064https://github.com/developing-today/code/issues/7064
dezren39https://github.com/dezren39
task/small-fixhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Fsmall-fix%22
priority/highhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fhigh%22
effort/mhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22effort%2Fm%22
kind/enhancementhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fenhancement%22
on Nov 17, 2026https://github.com/developing-today/code/issues/8239#event-36360981348
developing-todayhttps://github.com/apps/developing-today
status:in-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Ain-review%22
on Nov 17, 2026https://github.com/developing-today/code/issues/8239#event-36363454794
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 17, 2026https://github.com/developing-today/code/issues/8239#issuecomment-6938273716
feat(id): group-commit batching for world journal appends (#8239) #10962https://github.com/developing-today/code/pull/10962
dezren39https://github.com/dezren39
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
on Nov 17, 2026https://github.com/developing-today/code/issues/8239#event-36363473338
dezren39https://github.com/dezren39
on Nov 17, 2026https://github.com/developing-today/code/issues/8239#event-36363579785
Merge pull request #10962 from developing-today/queue/20101-8239-grou…https://github.com/developing-today/code/commit/71e7ac3018f752431ddd413785ff2895087a6405
#10962https://github.com/developing-today/code/pull/10962
71e7ac3https://github.com/developing-today/code/commit/71e7ac3018f752431ddd413785ff2895087a6405
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 17, 2026https://github.com/developing-today/code/issues/8239#issuecomment-6938304948
feat(id): group-commit batching for world journal appends (#8239) #10962https://github.com/developing-today/code/pull/10962
71e7ac3https://github.com/developing-today/code/commit/71e7ac3018f752431ddd413785ff2895087a6405
dezren39https://github.com/dezren39
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
on Nov 17, 2026https://github.com/developing-today/code/issues/8239#event-36363600810
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 17, 2026https://github.com/developing-today/code/issues/8239#event-36363603078
developing-todayhttps://github.com/apps/developing-today
status:donehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Adone%22
status:in-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Ain-review%22
on Nov 17, 2026https://github.com/developing-today/code/issues/8239#event-36363606420
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/8239
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/8239
dezren39https://github.com/dezren39
effort/mhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22effort%2Fm%22
epic/id-programhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22epic%2Fid-program%22
kind/enhancementhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fenhancement%22
priority/highhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fhigh%22
status:donehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Adone%22
task/small-fixhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Fsmall-fix%22
ID platform programNo due datehttps://github.com/developing-today/code/milestone/3
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-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.