René's URL Explorer Experiment


Title: feat: add caching to routing header calculation by daniel-sanche · Pull Request #526 · googleapis/python-api-core · GitHub

Open Graph Title: feat: add caching to routing header calculation by daniel-sanche · Pull Request #526 · googleapis/python-api-core

X Title: feat: add caching to routing header calculation by daniel-sanche · Pull Request #526 · googleapis/python-api-core

Description: This library has moved to https://github.com/googleapis/google-cloud-python/tree/main/packages/google-api-core - feat: add caching to routing header calculation by daniel-sanche · Pull Request #526 · googleapis/python-api-core

Open Graph Description: _to_grpc_metadata is used to convert a tuple of string metadata into the proper GCP routing format. It is part of the hot-path of rpcs with routing info, and it adds a noticable cost to each rpc. ...

X Description: _to_grpc_metadata is used to convert a tuple of string metadata into the proper GCP routing format. It is part of the hot-path of rpcs with routing info, and it adds a noticable cost to each rpc. ...

Opengraph URL: https://github.com/googleapis/python-api-core/pull/526

X: @github

direct link

Domain: github.com

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:6476bb20-6045-6399-2720-261dabe7d0d3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB26C:2279D0:7EB204:AD7236:6A4DD620
html-safe-noncee72ece77d8112613cd16ecdce80d053ef9302c1e51b81353bc3160a090c03a6d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjZDOjIyNzlEMDo3RUIyMDQ6QUQ3MjM2OjZBNERENjIwIiwidmlzaXRvcl9pZCI6IjQ3NTQ5MTQ3NjU2OTE1NDEwMjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5f9000a7deacc4909669278aa424025859a6179f139af9cc8c9b7d87d61d2829
hovercard-subject-tagpull_request:1505383744
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/googleapis/python-api-core/526/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d72fc91ebb18ec8f0e81de10a632be5b3c78b8259187f4b9bd8887bc95ec043c/googleapis/python-api-core/pull/526
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d72fc91ebb18ec8f0e81de10a632be5b3c78b8259187f4b9bd8887bc95ec043c/googleapis/python-api-core/pull/526
og:image:alt_to_grpc_metadata is used to convert a tuple of string metadata into the proper GCP routing format. It is part of the hot-path of rpcs with routing info, and it adds a noticable cost to each rpc. ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedaniel-sanche
hostnamegithub.com
expected-hostnamegithub.com
None06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33
turbo-cache-controlno-cache
go-importgithub.com/googleapis/python-api-core git https://github.com/googleapis/python-api-core.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id226992456
octolytics-dimension-repository_nwogoogleapis/python-api-core
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id226992456
octolytics-dimension-repository_network_root_nwogoogleapis/python-api-core
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
release1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/googleapis/python-api-core/issues/526#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-api-core%2Fpull%2F526
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-api-core%2Fpull%2F526
Sign up https://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=googleapis%2Fpython-api-core
Reloadhttps://github.com/googleapis/python-api-core/issues/526
Reloadhttps://github.com/googleapis/python-api-core/issues/526
Reloadhttps://github.com/googleapis/python-api-core/issues/526
Please reload this pagehttps://github.com/googleapis/python-api-core/issues/526
googleapis https://github.com/googleapis
python-api-corehttps://github.com/googleapis/python-api-core
Notifications https://github.com/login?return_to=%2Fgoogleapis%2Fpython-api-core
Fork 97 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-api-core
Star 144 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-api-core
Code https://github.com/googleapis/python-api-core
Issues 0 https://github.com/googleapis/python-api-core/issues
Pull requests 0 https://github.com/googleapis/python-api-core/pulls
Actions https://github.com/googleapis/python-api-core/actions
Projects https://github.com/googleapis/python-api-core/projects
Security and quality 0 https://github.com/googleapis/python-api-core/security
Insights https://github.com/googleapis/python-api-core/pulse
Code https://github.com/googleapis/python-api-core
Issues https://github.com/googleapis/python-api-core/issues
Pull requests https://github.com/googleapis/python-api-core/pulls
Actions https://github.com/googleapis/python-api-core/actions
Projects https://github.com/googleapis/python-api-core/projects
Security and quality https://github.com/googleapis/python-api-core/security
Insights https://github.com/googleapis/python-api-core/pulse
daniel-sanchehttps://github.com/daniel-sanche
mainhttps://github.com/googleapis/python-api-core/tree/main
routing-header-cachehttps://github.com/googleapis/python-api-core/tree/routing-header-cache
Conversationhttps://github.com/googleapis/python-api-core/pull/526
Commits15 (15)https://github.com/googleapis/python-api-core/pull/526/commits
Checkshttps://github.com/googleapis/python-api-core/pull/526/checks
Files changedhttps://github.com/googleapis/python-api-core/pull/526/files
feat: add caching to routing header calculationhttps://github.com/googleapis/python-api-core/issues/526#top
daniel-sanchehttps://github.com/daniel-sanche
mainhttps://github.com/googleapis/python-api-core/tree/main
routing-header-cachehttps://github.com/googleapis/python-api-core/tree/routing-header-cache
https://github.com/daniel-sanche
daniel-sanchehttps://github.com/daniel-sanche
Sep 6, 2023https://github.com/googleapis/python-api-core/issues/526#issue-1884854021
Please reload this pagehttps://github.com/googleapis/python-api-core/issues/526
https://github.com/daniel-sanche
feat: add caching to routing headerhttps://github.com/googleapis/python-api-core/pull/526/commits/30189eaa1fc4689b5bfefb682add0faa56555672
30189eahttps://github.com/googleapis/python-api-core/pull/526/commits/30189eaa1fc4689b5bfefb682add0faa56555672
https://github.com/daniel-sanche
daniel-sanchehttps://github.com/daniel-sanche
September 6, 2023 22:46https://github.com/googleapis/python-api-core/issues/526#event-10301165543
https://github.com/apps/product-auto-label
product-auto-labelhttps://github.com/apps/product-auto-label
size: xs https://github.com/googleapis/python-api-core/issues?q=state%3Aopen%20label%3A%22size%3A%20xs%22
Sep 6, 2023https://github.com/googleapis/python-api-core/issues/526#event-10301165914
https://github.com/daniel-sanche
added constant for cache sizehttps://github.com/googleapis/python-api-core/pull/526/commits/9ae434cfa1469f5c1aba4872e6861d3993b1ecf3
9ae434chttps://github.com/googleapis/python-api-core/pull/526/commits/9ae434cfa1469f5c1aba4872e6861d3993b1ecf3
https://github.com/parthea
partheahttps://github.com/parthea
Sep 19, 2023https://github.com/googleapis/python-api-core/issues/526#issuecomment-1726081667
Please reload this pagehttps://github.com/googleapis/python-api-core/issues/526
https://github.com/parthea
partheahttps://github.com/parthea
September 19, 2023 16:55https://github.com/googleapis/python-api-core/issues/526#event-10413193030
daniel-sanchehttps://github.com/daniel-sanche
September 19, 2023 13:02https://github.com/googleapis/python-api-core/issues/526#commits-pushed-cf34a3a
https://github.com/daniel-sanche
Merge branch 'main' into routing-header-cachehttps://github.com/googleapis/python-api-core/pull/526/commits/cf34a3a316502e73e9180d2e2b0a518c2e6bdda5
cf34a3ahttps://github.com/googleapis/python-api-core/pull/526/commits/cf34a3a316502e73e9180d2e2b0a518c2e6bdda5
https://github.com/daniel-sanche
Merge branch 'main' into routing-header-cachehttps://github.com/googleapis/python-api-core/pull/526/commits/2eb47ff8fe620b0db85c7dac0bf45d64ce0e622d
2eb47ffhttps://github.com/googleapis/python-api-core/pull/526/commits/2eb47ff8fe620b0db85c7dac0bf45d64ce0e622d
https://github.com/daniel-sanche
moved cacheing into helperhttps://github.com/googleapis/python-api-core/pull/526/commits/deb13c3608c8831dfbc947986724f0d8bcf00782
deb13c3https://github.com/googleapis/python-api-core/pull/526/commits/deb13c3608c8831dfbc947986724f0d8bcf00782
https://github.com/daniel-sanche
cache individual componentshttps://github.com/googleapis/python-api-core/pull/526/commits/6d7c8079218bda43594a59bce7298bea41c97780
6d7c807https://github.com/googleapis/python-api-core/pull/526/commits/6d7c8079218bda43594a59bce7298bea41c97780
https://github.com/apps/product-auto-label
product-auto-labelhttps://github.com/apps/product-auto-label
size: s https://github.com/googleapis/python-api-core/issues?q=state%3Aopen%20label%3A%22size%3A%20s%22
size: xs https://github.com/googleapis/python-api-core/issues?q=state%3Aopen%20label%3A%22size%3A%20xs%22
Oct 6, 2023https://github.com/googleapis/python-api-core/issues/526#event-10580253358
https://github.com/daniel-sanche
added testshttps://github.com/googleapis/python-api-core/pull/526/commits/a2e7575efeea25520d2b0c32761f07bddc317588
a2e7575https://github.com/googleapis/python-api-core/pull/526/commits/a2e7575efeea25520d2b0c32761f07bddc317588
https://github.com/apps/product-auto-label
product-auto-labelhttps://github.com/apps/product-auto-label
size: m https://github.com/googleapis/python-api-core/issues?q=state%3Aopen%20label%3A%22size%3A%20m%22
size: s https://github.com/googleapis/python-api-core/issues?q=state%3Aopen%20label%3A%22size%3A%20s%22
Oct 6, 2023https://github.com/googleapis/python-api-core/issues/526#event-10580311542
https://github.com/daniel-sanche
daniel-sanchehttps://github.com/daniel-sanche
October 6, 2023 23:00https://github.com/googleapis/python-api-core/issues/526#event-10580316794
https://github.com/daniel-sanche
ran blackenhttps://github.com/googleapis/python-api-core/pull/526/commits/651adb9d821081ed731cfe6d81f1964e07d7deba
651adb9https://github.com/googleapis/python-api-core/pull/526/commits/651adb9d821081ed731cfe6d81f1964e07d7deba
https://github.com/parthea
partheahttps://github.com/parthea
Oct 8, 2023https://github.com/googleapis/python-api-core/issues/526#event-10584350807
https://github.com/parthea
partheahttps://github.com/parthea
Oct 9, 2023 https://github.com/googleapis/python-api-core/issues/526#pullrequestreview-1664544755
View reviewed changes https://github.com/googleapis/python-api-core/pull/526/files/651adb9d821081ed731cfe6d81f1964e07d7deba
partheahttps://github.com/parthea
https://github.com/googleapis/python-api-core/issues/526#pullrequestreview-1664544755
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/googleapis/python-api-core/issues/526
tests/unit/gapic/test_routing_header.pyhttps://github.com/googleapis/python-api-core/pull/526/files/651adb9d821081ed731cfe6d81f1964e07d7deba#diff-95fcb8e7c734032ed4bbab559b80ed07b2fdca17fdca14faf5d5eba896070250
Please reload this pagehttps://github.com/googleapis/python-api-core/issues/526
tests/unit/gapic/test_routing_header.pyhttps://github.com/googleapis/python-api-core/pull/526/files/651adb9d821081ed731cfe6d81f1964e07d7deba#diff-95fcb8e7c734032ed4bbab559b80ed07b2fdca17fdca14faf5d5eba896070250
Please reload this pagehttps://github.com/googleapis/python-api-core/issues/526
google/api_core/gapic_v1/routing_header.pyhttps://github.com/googleapis/python-api-core/pull/526/files/651adb9d821081ed731cfe6d81f1964e07d7deba#diff-a2c5eba1d391f81560683d8833d90c7729ffb1dd4b060ec5eabda5f0deedc37e
Please reload this pagehttps://github.com/googleapis/python-api-core/issues/526
google/api_core/gapic_v1/routing_header.pyhttps://github.com/googleapis/python-api-core/pull/526/files/651adb9d821081ed731cfe6d81f1964e07d7deba#diff-a2c5eba1d391f81560683d8833d90c7729ffb1dd4b060ec5eabda5f0deedc37e
Please reload this pagehttps://github.com/googleapis/python-api-core/issues/526
https://github.com/parthea
partheahttps://github.com/parthea
daniel-sanchehttps://github.com/daniel-sanche
partheahttps://github.com/parthea
Oct 9, 2023https://github.com/googleapis/python-api-core/issues/526#event-10592064431
daniel-sanchehttps://github.com/daniel-sanche
October 9, 2023 12:19https://github.com/googleapis/python-api-core/issues/526#commits-pushed-58d911d
https://github.com/daniel-sanche
https://github.com/parthea
Update test namehttps://github.com/googleapis/python-api-core/pull/526/commits/58d911d5a1fb745ee7f0e67f0825ab167ba1e407
58d911dhttps://github.com/googleapis/python-api-core/pull/526/commits/58d911d5a1fb745ee7f0e67f0825ab167ba1e407
https://github.com/daniel-sanche
https://github.com/parthea
add commenthttps://github.com/googleapis/python-api-core/pull/526/commits/916164f5acd7a32f27a0cce204457367b501bef9
916164fhttps://github.com/googleapis/python-api-core/pull/526/commits/916164f5acd7a32f27a0cce204457367b501bef9
https://github.com/daniel-sanche
https://github.com/parthea
improve commentshttps://github.com/googleapis/python-api-core/pull/526/commits/232148a8c0130b48fc92e29867aa9ca921901331
232148ahttps://github.com/googleapis/python-api-core/pull/526/commits/232148a8c0130b48fc92e29867aa9ca921901331
https://github.com/daniel-sanche
https://github.com/parthea
moved commenthttps://github.com/googleapis/python-api-core/pull/526/commits/3873e2cd35da03dd8d379de671c6b924cb319e01
3873e2chttps://github.com/googleapis/python-api-core/pull/526/commits/3873e2cd35da03dd8d379de671c6b924cb319e01
https://github.com/daniel-sanche
Merge branch 'main' into routing-header-cachehttps://github.com/googleapis/python-api-core/pull/526/commits/27b1747b9a022f6ecb0373f5bfda4e3fa4ef64af
27b1747https://github.com/googleapis/python-api-core/pull/526/commits/27b1747b9a022f6ecb0373f5bfda4e3fa4ef64af
https://github.com/apps/gcf-owl-bot
🦉 Updates from OwlBot post-processorhttps://github.com/googleapis/python-api-core/pull/526/commits/2f65050583d8a6d5971147dbaad60a6e936694e6
2f65050https://github.com/googleapis/python-api-core/pull/526/commits/2f65050583d8a6d5971147dbaad60a6e936694e6
https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.mdhttps://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
https://github.com/apps/gcf-owl-bot
🦉 Updates from OwlBot post-processorhttps://github.com/googleapis/python-api-core/pull/526/commits/5a6afd5cd3c047d07b1f89286f5918823469245a
5a6afd5https://github.com/googleapis/python-api-core/pull/526/commits/5a6afd5cd3c047d07b1f89286f5918823469245a
https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.mdhttps://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
https://github.com/daniel-sanche
daniel-sanchehttps://github.com/daniel-sanche
6251eabhttps://github.com/googleapis/python-api-core/commit/6251eab3fca5f7e509cb9b6e476ce1184094b711
Oct 9, 2023https://github.com/googleapis/python-api-core/pull/526#event-10595022054
https://github.com/daniel-sanche
daniel-sanchehttps://github.com/daniel-sanche
October 9, 2023 20:00https://github.com/googleapis/python-api-core/issues/526#event-10595022197
https://github.com/apps/release-please
release-pleasehttps://github.com/apps/release-please
Oct 9, 2023 https://github.com/googleapis/python-api-core/issues/526#ref-pullrequest-1933704496
chore(main): release 2.13.0 #537 https://github.com/googleapis/python-api-core/pull/537
https://github.com/daniel-sanche
daniel-sanchehttps://github.com/daniel-sanche
Nov 22, 2023 https://github.com/googleapis/python-api-core/issues/526#ref-pullrequest-1886428877
chore: optimize gapic calls googleapis/python-bigtable#863 https://github.com/googleapis/python-bigtable/pull/863
chore(main): release 2.0.0 #822 https://github.com/googleapis/python-api-core/pull/822
chore(main): release 2.0.0 #823 https://github.com/googleapis/python-api-core/pull/823
https://github.co/hiddenchars
https://github.com/googleapis/python-api-core/issues/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-api-core%2Fpull%2F526
https://github.com/parthea
parthea https://github.com/parthea
https://github.com/googleapis/python-api-core/pull/526/files/651adb9d821081ed731cfe6d81f1964e07d7deba
https://github.com/daniel-sanche
daniel-sanche https://github.com/daniel-sanche
size: m https://github.com/googleapis/python-api-core/issues?q=state%3Aopen%20label%3A%22size%3A%20m%22
Please reload this pagehttps://github.com/googleapis/python-api-core/issues/526
https://github.com/daniel-sanche
https://github.com/parthea
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.