Title: Speed up cold-cache offers · Issue #3479 · dstackai/dstack · GitHub
Open Graph Title: Speed up cold-cache offers · Issue #3479 · dstackai/dstack
X Title: Speed up cold-cache offers · Issue #3479 · dstackai/dstack
Description: Requesting offers is quick if the offers cache is already populated but can be painfully slow if the cache is cold, e.g. 30s. Getting offers is one of the most common actions in dstack, so its performance affects the UX massively. We nee...
Open Graph Description: Requesting offers is quick if the offers cache is already populated but can be painfully slow if the cache is cold, e.g. 30s. Getting offers is one of the most common actions in dstack, so its perf...
X Description: Requesting offers is quick if the offers cache is already populated but can be painfully slow if the cache is cold, e.g. 30s. Getting offers is one of the most common actions in dstack, so its perf...
Opengraph URL: https://github.com/dstackai/dstack/issues/3479
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Speed up cold-cache offers","articleBody":"Requesting offers is quick if the offers cache is already populated but can be painfully slow if the cache is cold, e.g. 30s. Getting offers is one of the most common actions in dstack, so its performance affects the UX massively. We need to research how to reduce get_offers time for the slowest backends.\n\nOn dstack Sky, returning offers may take \u003e30s:\n\n```\ndstack apply 1.67s user 0.69s system 6% cpu 36.534 total\n```\n\nLocally, I get the following numbers for Sky backends:\n\n```\n[13:26:43] INFO dstack._internal.server.services.backends:365 Requesting instance offers\n from backends: ['gcp', 'runpod', 'aws', 'azure', 'lambda', 'nebius',\n 'cudo', 'verda']\n DEBUG dstack._internal.server.services.backends:404 Got offers from backend\n BackendType.RUNPOD in 0.551435s\n[13:26:45] DEBUG dstack._internal.server.services.backends:404 Got offers from backend\n BackendType.LAMBDA in 1.839518s\n DEBUG dstack._internal.server.services.backends:404 Got offers from backend\n BackendType.VERDA in 1.817387s\n[13:26:47] DEBUG dstack._internal.server.services.backends:404 Got offers from backend\n BackendType.CUDO in 3.355270s\n DEBUG dstack._internal.server.services.backends:404 Got offers from backend\n BackendType.NEBIUS in 4.055332s\n[13:26:48] DEBUG dstack._internal.server.services.backends:404 Got offers from backend\n BackendType.GCP in 5.753253s\n[13:26:55] DEBUG dstack._internal.server.services.backends:404 Got offers from backend\n BackendType.AWS in 12.271486s\n[13:26:57] DEBUG dstack._internal.server.services.backends:404 Got offers from backend\n BackendType.AZURE in 14.012781s\n```\n\nFor some reason, Sky is slower than local for same backends.","author":{"url":"https://github.com/r4victor","@type":"Person","name":"r4victor"},"datePublished":"2026-01-20T08:39:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/3479/dstack/issues/3479"}
| 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:8756f967-3621-212e-621f-54a4a820b99b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8D16:F5EEA:1F9CAA:2AFF07:6980F1D1 |
| html-safe-nonce | 5a13fb6ad182ddab51824ffc26011c0a86f61b9687ebb7ac3c645d08739b1e47 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDE2OkY1RUVBOjFGOUNBQToyQUZGMDc6Njk4MEYxRDEiLCJ2aXNpdG9yX2lkIjoiMzc0NDgwMjQzOTc4NjcyMTc0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7c51096302ea133cd17dfe75f0c3636d1765855ef8ff042279ca0e8f2084d761 |
| hovercard-subject-tag | issue:3832671220 |
| 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/dstackai/dstack/3479/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7214cab98baea82ce0493937129f0148a036e05d6a060d342ca04a7a26916dca/dstackai/dstack/issues/3479 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7214cab98baea82ce0493937129f0148a036e05d6a060d342ca04a7a26916dca/dstackai/dstack/issues/3479 |
| og:image:alt | Requesting offers is quick if the offers cache is already populated but can be painfully slow if the cache is cold, e.g. 30s. Getting offers is one of the most common actions in dstack, so its perf... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | r4victor |
| hostname | github.com |
| expected-hostname | github.com |
| None | cdeab60e665cf158f971f0b4329c9f8b2796cdbc03304a1f04aaa07e81bd107f |
| turbo-cache-control | no-preview |
| go-import | github.com/dstackai/dstack git https://github.com/dstackai/dstack.git |
| octolytics-dimension-user_id | 54146142 |
| octolytics-dimension-user_login | dstackai |
| octolytics-dimension-repository_id | 444377346 |
| octolytics-dimension-repository_nwo | dstackai/dstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 444377346 |
| octolytics-dimension-repository_network_root_nwo | dstackai/dstack |
| 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 | abc7f12a1279d78087ac998532a2819581bc3ceb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width