Title: Performance [P3]: Cache Azure managed SDK version lookup · Issue #195 · microsoft/durabletask-python · GitHub
Open Graph Title: Performance [P3]: Cache Azure managed SDK version lookup · Issue #195 · microsoft/durabletask-python
X Title: Performance [P3]: Cache Azure managed SDK version lookup · Issue #195 · microsoft/durabletask-python
Description: What is the issue? Every synchronous and asynchronous Azure managed interceptor construction performs a distribution metadata lookup to determine the SDK version. What is the impact? The lookup adds filesystem and package-metadata work t...
Open Graph Description: What is the issue? Every synchronous and asynchronous Azure managed interceptor construction performs a distribution metadata lookup to determine the SDK version. What is the impact? The lookup add...
X Description: What is the issue? Every synchronous and asynchronous Azure managed interceptor construction performs a distribution metadata lookup to determine the SDK version. What is the impact? The lookup add...
Opengraph URL: https://github.com/microsoft/durabletask-python/issues/195
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Performance [P3]: Cache Azure managed SDK version lookup","articleBody":"### What is the issue?\n\nEvery synchronous and asynchronous Azure managed interceptor construction performs a distribution metadata lookup to determine the SDK version.\n\n### What is the impact?\n\nThe lookup adds filesystem and package-metadata work to client and worker construction. It is a small cost per instance, but it appears on cold startup and is repeated when applications create multiple clients or workers.\n\n### Details about the issue including code reference\n\nRelevant code:\n\nhttps://github.com/microsoft/durabletask-python/blob/55d8e0b413eb5dd75afa64f30c54fe300bf4ea21/durabletask-azuremanaged/durabletask/azuremanaged/internal/durabletask_grpc_interceptor.py#L25-L42\n\nhttps://github.com/microsoft/durabletask-python/blob/55d8e0b413eb5dd75afa64f30c54fe300bf4ea21/durabletask-azuremanaged/durabletask/azuremanaged/internal/durabletask_grpc_interceptor.py#L83-L94\n\nBoth interceptor constructors call importlib.metadata.version for durabletask-azuremanaged and provide an unknown fallback on failure.\n\n### A potential or proposed solution\n\nResolve the SDK version once in a module-level cached helper and reuse it for every interceptor. Preserve the current unknown fallback and user-agent format.","author":{"url":"https://github.com/berndverst","@type":"Person","name":"berndverst"},"datePublished":"2026-07-24T21:20:55Z","url":"https://github.com/microsoft/durabletask-python/issues/195"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6597afe3-e667-06d9-db88-bdc20db96ba8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 80E4:2CAD0F:10595C:14EB33:6AFE44AF |
| html-safe-nonce | eaa8d9597f4f5c405a3fbd55af60f0d11abe986b6942c45ef6f69b90f7e2375e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MEU0OjJDQUQwRjoxMDU5NUM6MTRFQjMzOjZBRkU0NEFGIiwidmlzaXRvcl9pZCI6IjUxNDY4Mzg5OTY4NDM2NDQwODAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9ece648f55706a414a76abe4370163c635ae44a47851d771eb580a78a7f60ac2 |
| hovercard-subject-tag | issue:4972159393 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/durabletask-python/195/issue_layout |
| twitter:image | https://opengraph.githubassets.com/abf56825d5d8f3cb6c11401b8d36944c7204acdcfb8ce2a4e43beac15d6767b3/microsoft/durabletask-python/issues/195 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/abf56825d5d8f3cb6c11401b8d36944c7204acdcfb8ce2a4e43beac15d6767b3/microsoft/durabletask-python/issues/195 |
| og:image:alt | What is the issue? Every synchronous and asynchronous Azure managed interceptor construction performs a distribution metadata lookup to determine the SDK version. What is the impact? The lookup add... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | berndverst |
| hostname | github.com |
| expected-hostname | github.com |
| None | f1a5901e2377b0af2a0b303f9528678f1475d04b9219dca1e993344196eaa07c |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/durabletask-python git https://github.com/microsoft/durabletask-python.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 627664515 |
| octolytics-dimension-repository_nwo | microsoft/durabletask-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627664515 |
| octolytics-dimension-repository_network_root_nwo | microsoft/durabletask-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ce393ea11ad276623b946bc9663d3e7d6f564275 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width