René's URL Explorer Experiment


Title: Rework shared memory · Issue #54 · python-botogram/botogram · GitHub

Open Graph Title: Rework shared memory · Issue #54 · python-botogram/botogram

X Title: Rework shared memory · Issue #54 · python-botogram/botogram

Description: The current status of shared memory is a real mess, and I really need to solve it: First of all, you can't easily use sub-dictionaries because they're not synchronized, and you need to do something like this, which is really ugly: mydata...

Open Graph Description: The current status of shared memory is a real mess, and I really need to solve it: First of all, you can't easily use sub-dictionaries because they're not synchronized, and you need to do something...

X Description: The current status of shared memory is a real mess, and I really need to solve it: First of all, you can't easily use sub-dictionaries because they're not synchronized, and you need to do s...

Opengraph URL: https://github.com/python-botogram/botogram/issues/54

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Rework shared memory","articleBody":"The current status of shared memory is a real mess, and I really need to solve it:\n\nFirst of all, you can't easily use sub-dictionaries because they're not synchronized, and you need to do something like this, which is really ugly:\n\n``` python\nmydata = shared[\"mydata\"]\nmydata[\"test\"] = \"abc\"\nshared[\"mydata\"] = mydata\n```\n\nOther than that, shared memory is directly available via the `shared` argument of any hook: this might seem convenient, but prevents adding more shared things, like a global memory (as requested in #22) and locks, which are currently implemented by adding the method at runtime.\n\nIn order to solve this problems, and allowing to create custom drivers more easily, a big rewrite of the whole thing is needed. The new API I want for it is:\n\n``` python\n# For a component's memory\nshared.memory[\"mydata\"] = shared.object(\"dict\")\nshared.memory[\"mydata\"][\"test\"] = \"yay\"\nwith shared.lock(\"hello\"):\n    pass\n\n# A custom bucket\nbucket = bot.shared.bucket(\"test\")\nbucket.memory[\"mydata\"] = \"test\n```\n\n---\n- [x] Move the functionality of `shared` into `shared.memory`\n- [ ] Use a custom proxy instead of the multiprocessing one, so it's easier to write custom drivers and the API is consistent between them\n  - [x] Add basic support for objects management\n  - [x] Add ability to export/import objects and switch drivers\n  - [x] Add ability to add memory preparers\n  - [ ] Add support for the runner driver\n- [ ] Add some sort of garbage collection\n","author":{"url":"https://github.com/emilyalbini","@type":"Person","name":"emilyalbini"},"datePublished":"2016-04-10T17:55:52Z","url":"https://github.com/python-botogram/botogram/issues/54"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:4ed0d477-f1f6-4bd9-bcb6-5bf459708a0b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAF26:346B7E:F250:15167:6AEC7EC2
html-safe-nonce1738d06bec9f6bf97760d7842aeaa6799a34afda0daba70978959b146eaf811b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjI2OjM0NkI3RTpGMjUwOjE1MTY3OjZBRUM3RUMyIiwidmlzaXRvcl9pZCI6IjE2OTExMTYzMzc3NzQ3NTU1MjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3425730c9336f8d976cd23d27fa252ae566ebb24310404e14a224225aed8fedc
hovercard-subject-tagissue:147247032
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/python-botogram/botogram/54/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6b21bd5cc7f23c8b48c79f27dc60fff62a3807251edf666c30ad0109abfd3271/python-botogram/botogram/issues/54
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6b21bd5cc7f23c8b48c79f27dc60fff62a3807251edf666c30ad0109abfd3271/python-botogram/botogram/issues/54
og:image:altThe current status of shared memory is a real mess, and I really need to solve it: First of all, you can't easily use sub-dictionaries because they're not synchronized, and you need to do something...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameemilyalbini
hostnamegithub.com
expected-hostnamegithub.com
None2bdf579c3278a003eb7fd86a77e2ed31e813bf4e18e5958458d2bdc3941566b0
turbo-cache-controlno-preview
go-importgithub.com/python-botogram/botogram git https://github.com/python-botogram/botogram.git
octolytics-dimension-user_id38258752
octolytics-dimension-user_loginpython-botogram
octolytics-dimension-repository_id38007898
octolytics-dimension-repository_nwopython-botogram/botogram
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id38007898
octolytics-dimension-repository_network_root_nwopython-botogram/botogram
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
release22d3a69d3307500eb5a7909970fc0d9a7735cb70
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python-botogram/botogram/issues/54#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-botogram%2Fbotogram%2Fissues%2F54
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%2Fpython-botogram%2Fbotogram%2Fissues%2F54
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=python-botogram%2Fbotogram
Reloadhttps://github.com/python-botogram/botogram/issues/54
Reloadhttps://github.com/python-botogram/botogram/issues/54
Reloadhttps://github.com/python-botogram/botogram/issues/54
python-botogramhttps://github.com/python-botogram
botogramhttps://github.com/python-botogram/botogram
Codehttps://github.com/python-botogram/botogram
Issues17 (17)https://github.com/python-botogram/botogram/issues
Pull requests18 (18)https://github.com/python-botogram/botogram/pulls
Actionshttps://github.com/python-botogram/botogram/actions
Security and qualityhttps://github.com/python-botogram/botogram/security
Insightshttps://github.com/python-botogram/botogram/pulse
https://github.com/python-botogram/botogram
New issuehttps://github.com/login?return_to=https://github.com/python-botogram/botogram/issues/54
New issuehttps://github.com/login?return_to=https://github.com/python-botogram/botogram/issues/54
Rework shared memoryhttps://github.com/python-botogram/botogram/issues/54#top
E-breakinghttps://github.com/python-botogram/botogram/issues?q=state%3Aopen%20label%3A%22E-breaking%22
T-enhancementhttps://github.com/python-botogram/botogram/issues?q=state%3Aopen%20label%3A%22T-enhancement%22
https://github.com/emilyalbini
emilyalbinihttps://github.com/emilyalbini
on Apr 10, 2016https://github.com/python-botogram/botogram/issues/54#issue-147247032
#22https://github.com/python-botogram/botogram/issues/22
emilyalbinihttps://github.com/emilyalbini
on Apr 10, 2016https://github.com/python-botogram/botogram/issues/54#event-621590870
emilyalbinihttps://github.com/emilyalbini
E-breakinghttps://github.com/python-botogram/botogram/issues?q=state%3Aopen%20label%3A%22E-breaking%22
T-enhancementhttps://github.com/python-botogram/botogram/issues?q=state%3Aopen%20label%3A%22T-enhancement%22
on Apr 10, 2016https://github.com/python-botogram/botogram/issues/54#event-621590871
emilyalbinihttps://github.com/emilyalbini
botogram 0.3https://github.com/python-botogram/botogram/milestone/6
on Apr 10, 2016https://github.com/python-botogram/botogram/issues/54#event-621590873
emilyalbinihttps://github.com/emilyalbini
botogram 0.4https://github.com/python-botogram/botogram/milestone/8
botogram 0.3https://github.com/python-botogram/botogram/milestone/6
on May 30, 2016https://github.com/python-botogram/botogram/issues/54#event-676351987
emilyalbinihttps://github.com/emilyalbini
on Oct 1, 2016https://github.com/python-botogram/botogram/issues/54#event-809421229
emilyalbinihttps://github.com/emilyalbini
botogram 0.4https://github.com/python-botogram/botogram/milestone/8
on Jul 2, 2017https://github.com/python-botogram/botogram/issues/54#event-1147317697
Sign up for freehttps://github.com/signup?return_to=https://github.com/python-botogram/botogram/issues/54
Sign in to commenthttps://github.com/login?return_to=https://github.com/python-botogram/botogram/issues/54
E-breakinghttps://github.com/python-botogram/botogram/issues?q=state%3Aopen%20label%3A%22E-breaking%22
T-enhancementhttps://github.com/python-botogram/botogram/issues?q=state%3Aopen%20label%3A%22T-enhancement%22
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.