René's URL Explorer Experiment


Title: perf(db): reduce read/write fanout across hot paths by waleedlatif1 · Pull Request #4704 · simstudioai/sim · GitHub

Open Graph Title: perf(db): reduce read/write fanout across hot paths by waleedlatif1 · Pull Request #4704 · simstudioai/sim

X Title: perf(db): reduce read/write fanout across hot paths by waleedlatif1 · Pull Request #4704 · simstudioai/sim

Description: Sim is the collaborative workspace to build, deploy, and monitor AI agents and workflows. Used by 100,000+ builders. - perf(db): reduce read/write fanout across hot paths by waleedlatif1 · Pull Request #4704 · simstudioai/sim

Open Graph Description: Summary Narrow subscriptionKeys.all → users() invalidations on workflow run / wand / usage-indicator paths; bump useSubscriptionData staleTime 30s → 5min; bump usage-indicator socket debounce 1s →...

X Description: Summary Narrow subscriptionKeys.all → users() invalidations on workflow run / wand / usage-indicator paths; bump useSubscriptionData staleTime 30s → 5min; bump usage-indicator socket debounce 1s →...

Opengraph URL: https://github.com/simstudioai/sim/pull/4704

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/_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:852396be-c595-e95d-5cac-ffa438b60ecd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC826:939D2:10D8C7:17915A:6AFB6ABE
html-safe-nonce204a8a11429c62694216cd924a014c3a017b378fe35ae9f351c48fa79ec4c0ee
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODI2OjkzOUQyOjEwRDhDNzoxNzkxNUE6NkFGQjZBQkUiLCJ2aXNpdG9yX2lkIjoiMjI2NTM3ODEzNTU0MzA4MTY2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd710edef6d9004eabc614d79d6799bdbf24ce3cacf42fd2423de9443f930aa35
hovercard-subject-tagpull_request:3726510688
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/simstudioai/sim/4704/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/74025202370f34211f6ff3858125646d45f254cbab636be0d915263dd1111d3f/simstudioai/sim/pull/4704
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/74025202370f34211f6ff3858125646d45f254cbab636be0d915263dd1111d3f/simstudioai/sim/pull/4704
og:image:altSummary Narrow subscriptionKeys.all → users() invalidations on workflow run / wand / usage-indicator paths; bump useSubscriptionData staleTime 30s → 5min; bump usage-indicator socket debounce 1s →...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewaleedlatif1
hostnamegithub.com
expected-hostnamegithub.com
Nonecca289ecd54650fcf3c0b037a58b97186dee2cc4406819d87fab93728fd83700
turbo-cache-controlno-cache
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
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
release88808b1fae5ab8a526a73e7ce5542a10eb9d6971
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/4704#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F4704
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%2Fsimstudioai%2Fsim%2Fpull%2F4704
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=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/4704
Reloadhttps://github.com/simstudioai/sim/pull/4704
Reloadhttps://github.com/simstudioai/sim/pull/4704
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests198 (198)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
https://github.com/simstudioai/sim
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
waleedlatif1/db-connection-load-optimizationhttps://github.com/simstudioai/sim/tree/waleedlatif1/db-connection-load-optimization
Conversationhttps://github.com/simstudioai/sim/pull/4704
Commits4 (4)https://github.com/simstudioai/sim/pull/4704/commits
Checkshttps://github.com/simstudioai/sim/pull/4704/checks
Files changedhttps://github.com/simstudioai/sim/pull/4704/files
perf(db): reduce read/write fanout across hot pathshttps://github.com/simstudioai/sim/pull/4704#top
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
waleedlatif1/db-connection-load-optimizationhttps://github.com/simstudioai/sim/tree/waleedlatif1/db-connection-load-optimization
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
May 21, 2026https://github.com/simstudioai/sim/pull/4704#issue-4498128651
Please reload this pagehttps://github.com/simstudioai/sim/pull/4704
Contributor License Agreement (CLA)https://github.com/simstudioai/sim/pull/CONTRIBUTING.md#contributor-license-agreement-cla
Please reload this pagehttps://github.com/simstudioai/sim/pull/4704
https://github.com/waleedlatif1
perf(db): reduce read/write fanout across hot pathshttps://github.com/simstudioai/sim/pull/4704/commits/11c038f8b938c59ccd0300ed23bf31d0901230af
11c038fhttps://github.com/simstudioai/sim/pull/4704/commits/11c038f8b938c59ccd0300ed23bf31d0901230af
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
May 21, 2026https://github.com/simstudioai/sim/pull/4704#issuecomment-4513044649
Please reload this pagehttps://github.com/simstudioai/sim/pull/4704
Vercel for GitHubhttps://vercel.link/github-learn-more
docshttps://vercel.com/sim-studio/docs
https://camo.githubusercontent.com/1bb29feed7826aff3191ae8ff19d3c61e80fc99f9cc9373030210090f890893b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f63616e63656c65642e737667
Skippedhttps://vercel.com/sim-studio/docs/5jGzMdh1ToGVAahoJU9wEHwZQhWF
https://vercel.com/vercel-agent/request-review?owner=simstudioai&repo=sim&pr=4704
Please reload this pagehttps://github.com/simstudioai/sim/pull/4704
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
May 21, 2026https://github.com/simstudioai/sim/pull/4704#issuecomment-4513045381
Please reload this pagehttps://github.com/simstudioai/sim/pull/4704
Cursor Bugbothttps://cursor.com/bugbot
3cf4f7dhttps://github.com/simstudioai/sim/commit/3cf4f7d9e90ef3bb2bab1fd9db4e473dd4a2e896
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/simstudioai/sim/pull/4704
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://docs-k7mam0m6b-sim-studio.vercel.app
Previewhttps://docs-k7mam0m6b-sim-studio.vercel.app
May 21, 2026 21:50https://github.com/simstudioai/sim/pull/4704#event-25826022818
View deploymenthttps://docs-k7mam0m6b-sim-studio.vercel.app
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
May 21, 2026 https://github.com/simstudioai/sim/pull/4704#pullrequestreview-4341010644
View reviewed changes https://github.com/simstudioai/sim/pull/4704/files/11c038f8b938c59ccd0300ed23bf31d0901230af
apps/sim/lib/credentials/environment.tshttps://github.com/simstudioai/sim/pull/4704/files/11c038f8b938c59ccd0300ed23bf31d0901230af#diff-410fe6b2c7c0fdce4b2c736619f349af53cf8e7f7a227f0a7b1565283b7dde10
Please reload this pagehttps://github.com/simstudioai/sim/pull/4704
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
May 21, 2026https://github.com/simstudioai/sim/pull/4704#issuecomment-4513084558
Please reload this pagehttps://github.com/simstudioai/sim/pull/4704
"fix(webhooks): include NULL failedCount ..."https://github.com/simstudioai/sim/commit/3cf4f7d9e90ef3bb2bab1fd9db4e473dd4a2e896
Re-trigger Greptilehttps://app.greptile.com/api/retrigger?id=33344886
Please reload this pagehttps://github.com/simstudioai/sim/pull/4704
https://github.com/apps/greptile-apps
greptile-appshttps://github.com/apps/greptile-apps
May 21, 2026 https://github.com/simstudioai/sim/pull/4704#pullrequestreview-4341016281
View reviewed changes https://github.com/simstudioai/sim/pull/4704/files/11c038f8b938c59ccd0300ed23bf31d0901230af
packages/db/migrations/0211_breezy_cloak.sqlhttps://github.com/simstudioai/sim/pull/4704/files/11c038f8b938c59ccd0300ed23bf31d0901230af#diff-554af6d954db1f10708b1370a91c59410309afcf74467eed6f793d54e481933a
Please reload this pagehttps://github.com/simstudioai/sim/pull/4704
https://github.com/waleedlatif1
fix(templates): include name/workflowId/status/tags in DELETE projectionhttps://github.com/simstudioai/sim/pull/4704/commits/e3f19071c62db2aad0176b5eb550203f28d2a564
e3f1907https://github.com/simstudioai/sim/pull/4704/commits/e3f19071c62db2aad0176b5eb550203f28d2a564
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-yxyjaohqa-sim-studio.vercel.app
May 21, 2026 21:56https://github.com/simstudioai/sim/pull/4704#event-25826171203
https://github.com/waleedlatif1
fix(db): address review feedback (joinedAt backfill, mcp delete error…https://github.com/simstudioai/sim/pull/4704/commits/4baad33abe501805392a4633b9faf0171192e6c4
4baad33https://github.com/simstudioai/sim/pull/4704/commits/4baad33abe501805392a4633b9faf0171192e6c4
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
May 21, 2026https://github.com/simstudioai/sim/pull/4704#issuecomment-4513115058
4baad33https://github.com/simstudioai/sim/commit/4baad33abe501805392a4633b9faf0171192e6c4
Please reload this pagehttps://github.com/simstudioai/sim/pull/4704
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://docs-abyq31e4k-sim-studio.vercel.app
Previewhttps://docs-abyq31e4k-sim-studio.vercel.app
May 21, 2026 22:02https://github.com/simstudioai/sim/pull/4704#event-25826353474
View deploymenthttps://docs-abyq31e4k-sim-studio.vercel.app
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
May 21, 2026https://github.com/simstudioai/sim/pull/4704#issuecomment-4513139872
@greptilehttps://github.com/greptile
Please reload this pagehttps://github.com/simstudioai/sim/pull/4704
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
May 21, 2026https://github.com/simstudioai/sim/pull/4704#issuecomment-4513140197
@cursorhttps://github.com/cursor
Please reload this pagehttps://github.com/simstudioai/sim/pull/4704
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
May 21, 2026 https://github.com/simstudioai/sim/pull/4704#pullrequestreview-4341085402
View reviewed changes https://github.com/simstudioai/sim/pull/4704/files/4baad33abe501805392a4633b9faf0171192e6c4
apps/sim/lib/webhooks/polling/utils.tshttps://github.com/simstudioai/sim/pull/4704/files/4baad33abe501805392a4633b9faf0171192e6c4#diff-97a976801cb3ed8cd1194f5c2bb13175dcd1aaf629f9d5f6ff9f978ccf3303b8
Please reload this pagehttps://github.com/simstudioai/sim/pull/4704
https://github.com/waleedlatif1
fix(webhooks): include NULL failedCount in markWebhookSuccess guardhttps://github.com/simstudioai/sim/pull/4704/commits/3cf4f7d9e90ef3bb2bab1fd9db4e473dd4a2e896
3cf4f7dhttps://github.com/simstudioai/sim/pull/4704/commits/3cf4f7d9e90ef3bb2bab1fd9db4e473dd4a2e896
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
temporarily deployedhttps://docs-3lbwncp0b-sim-studio.vercel.app
May 21, 2026 22:10https://github.com/simstudioai/sim/pull/4704#event-25826571695
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
May 21, 2026https://github.com/simstudioai/sim/pull/4704#issuecomment-4513186694
@greptilehttps://github.com/greptile
Please reload this pagehttps://github.com/simstudioai/sim/pull/4704
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
May 21, 2026https://github.com/simstudioai/sim/pull/4704#issuecomment-4513187261
@cursorhttps://github.com/cursor
Please reload this pagehttps://github.com/simstudioai/sim/pull/4704
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
May 21, 2026 https://github.com/simstudioai/sim/pull/4704#pullrequestreview-4341140698
View reviewed changes https://github.com/simstudioai/sim/pull/4704/files/3cf4f7d9e90ef3bb2bab1fd9db4e473dd4a2e896
cursorhttps://github.com/apps/cursor
https://github.com/simstudioai/sim/pull/4704#pullrequestreview-4341140698
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Cursor Bugbothttps://cursor.com/bugbot
3cf4f7dhttps://github.com/simstudioai/sim/commit/3cf4f7d9e90ef3bb2bab1fd9db4e473dd4a2e896
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/simstudioai/sim/pull/4704
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
3f7698chttps://github.com/simstudioai/sim/commit/3f7698c66bf7c3969f2d3617f5a5fdf8db790993
May 21, 2026https://github.com/simstudioai/sim/pull/4704#event-25826984944
Please reload this pagehttps://github.com/simstudioai/sim/pull/4704
https://github.com/waleedlatif1
waleedlatif1https://github.com/waleedlatif1
May 21, 2026 22:25https://github.com/simstudioai/sim/pull/4704#event-25826986078
https://github.com/icecrasher321
icecrasher321https://github.com/icecrasher321
May 21, 2026 https://github.com/simstudioai/sim/pull/4704#ref-pullrequest-4498518687
v0.6.87: performance improvements #4707 https://github.com/simstudioai/sim/pull/4707
Deployedhttps://docs-3lbwncp0b-sim-studio.vercel.app
vercel[bot]https://github.com/apps/vercel
View deployment https://docs-3lbwncp0b-sim-studio.vercel.app
https://github.co/hiddenchars
https://github.com/simstudioai/sim/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%2Fsimstudioai%2Fsim%2Fpull%2F4704
https://github.com/apps/greptile-apps
greptile-apps[bot] https://github.com/apps/greptile-apps
https://github.com/simstudioai/sim/pull/4704/files/11c038f8b938c59ccd0300ed23bf31d0901230af
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/simstudioai/sim/pull/4704/files/3cf4f7d9e90ef3bb2bab1fd9db4e473dd4a2e896
Please reload this pagehttps://github.com/simstudioai/sim/pull/4704
Please reload this pagehttps://github.com/simstudioai/sim/pull/4704
https://github.com/waleedlatif1
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.