Use this when the server is intermittently slow or unreachable after a quiet period; turn on Always Ready Mode so an instance stays warm instead of scaling to zero.
By default the server scales to zero when it is idle. The next request after a quiet
period has to start the container and validate the license before it can be served, which
takes noticeably longer than a normal request, and can be slow enough that the caller gives
up first.
When you need this
Symptom: the server works fine most of the time, but occasionally a scenario is very slow
or fails with a connection error, and running it again straight away succeeds. Failures
cluster after periods of no activity.
This pattern is a cold start, not a broken deployment. If the server fails consistently
rather than intermittently, this page is not the fix; see
Troubleshooting.
Turn on Always Ready Mode
You do this yourself in the Magic Meal Kits app: on My server (내 서버) in the new screen, or at
make.magicmealkits.com/app-status on the previous screen.
The previous screen (v1) is still the default. On the new dashboard (v2) this lives under
My server (내 서버) > Server status and install (서버 상태와 설치) at
make.magicmealkits.com/v2/server. Pick the tab
for the screen you use.
New screen
Previous screen
1
Open My server
At make.magicmealkits.com, open Server status and install
(서버 상태와 설치) under My server (내 서버) in the left menu.
2
Turn on Keep always on
In the Speed and cost (속도와 비용) section, switch on Keep always on (늘 켜 두기). It is
the same setting as Always Ready on the previous screen. It applies
to the running service right away; no redeploy needed.
Zoomed in
3
Confirm
Re-run the scenario that was failing. The slow request after an idle period should be gone.
Scroll to the Scaling Settings card at the bottom right of the page.
Always Ready Mode shows as DISABLED by default.
3
Enable it
Click the toggle. It keeps one instance warm (minimum instances = 1) so requests are
served immediately instead of waiting for a container to start.The change applies to the running service; no redeploy needed.
4
Confirm
Re-run the scenario that was failing. Response times should be consistent from the first
request, with no slow outlier after an idle period.
Cost
Always Ready Mode keeps an instance running around the clock, so the service no longer
scales to zero and usage continues while idle. This is billed by Google Cloud and will
take you past the always-free tier. The App Status page labels the enabled state
Premium Cost for this reason.
Leave it off if occasional slow first requests are acceptable; scheduled scenarios that
run every few minutes usually keep the instance warm on their own, and cold starts only show
up after genuinely quiet periods. Turn it on when requests must respond predictably, such
as webhooks or user-facing automations.See Google Cloud billing for how billing is set up on
your project.
Related
Slow under load rather than after idling? That is a memory problem, not a cold start;
see Performance & memory.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Magic Meal Kits","description":"API, MCP, and deployment documentation for the Magic Meal Kits server you run in your own GCP project.","colors":{"primary":"#6D28D9","light":"#818CF8","dark":"#4F46E5"},"logo":{"light":"https://mintcdn.com/mmk-5fd4bbfe/E1wkFWl4VdSd4wXr/logo/light.png?fit=max\u0026auto=format\u0026n=E1wkFWl4VdSd4wXr\u0026q=85\u0026s=13e61b9f63d274bec5e49bf81ef8f6d8","dark":"https://mintcdn.com/mmk-5fd4bbfe/E1wkFWl4VdSd4wXr/logo/dark.png?fit=max\u0026auto=format\u0026n=E1wkFWl4VdSd4wXr\u0026q=85\u0026s=2cb2d5c31011c2fab9740fc3186a2d22"},"favicon":"https://mintcdn.com/mmk-5fd4bbfe/E1wkFWl4VdSd4wXr/favicon.png?fit=max\u0026auto=format\u0026n=E1wkFWl4VdSd4wXr\u0026q=85\u0026s=9fc83ff5e294a0129aeacc0773492a1b","appearance":{"default":"dark"},"background":{"color":{"dark":"#0A0A0B"}},"navbar":{"primary":{"type":"button","label":"Get Magic Meal Kits","href":"https://make.magicmealkits.com/"}},"footer":{"socials":{"website":"https://make.magicmealkits.com/"}},"contextual":{"options":["copy","view","claude","chatgpt","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"CLI (npm)","icon":"terminal","href":"https://www.npmjs.com/package/@magic-meal-kits/cli"},{"anchor":"Magic Meal Kits","icon":"globe","href":"https://make.magicmealkits.com/"}]},"languages":[{"language":"en","default":true,"href":"onboarding/overview"},{"language":"ko","href":"ko/onboarding/overview"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mmk-5fd4bbfe","hasAudioNarration":false,"actualSubdomain":"mmk-5fd4bbfe","customDomains":["docs.magicmealkits.com"],"gitSource":{"type":"github","owner":"pureugong","repo":"make-docker-pack","deployBranch":"master","contentDirectory":"mintlify-docs","isPrivate":true,"mountPath":"","label":"","_id":"6b10f2499ffae5051c4181e7"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b123b79d89eaaf9744dcf70","clientVersion":"0.0.4448","searchFilterCounts":[{"language":"en","tag":"API","count":138},{"language":"en","tag":"Endpoints","count":127},{"language":"en","tag":"Notion","count":46},{"language":"en","tag":"Plaud","count":35},{"language":"en","tag":"Get Started","count":24},{"language":"ko","tag":"시작하기","count":24},{"language":"en","tag":"Tiro","count":20},{"language":"en","tag":"Paymint","count":14},{"language":"en","tag":"Troubleshooting","count":13},{"language":"ko","tag":"문제 해결","count":13},{"language":"en","tag":"Files","count":11},{"language":"en","tag":"Guides","count":9},{"language":"ko","tag":"가이드","count":9},{"language":"ko","tag":"커스텀앱","count":8},{"language":"ko","tag":"처음 시작하기","count":6},{"language":"ko","tag":"개요","count":5},{"language":"ko","tag":"MCP","count":5},{"language":"ko","tag":"MCP 서버","count":5},{"language":"ko","tag":"CLI","count":2},{"language":"ko","tag":"커맨드 라인","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"operations/cold-starts","slug":"/operations/cold-starts","pageMetadata":{"title":"Fix slow or failing first requests (cold starts)","sidebarTitle":"Cold starts","description":"Use this when the server is intermittently slow or unreachable after a quiet period; turn on Always Ready Mode so an instance stays warm instead of scaling to zero.","href":"/operations/cold-starts"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Use this when the server is intermittently slow or unreachable after a quiet period; turn on Always Ready Mode so an instance stays warm instead of scaling to zero.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Frame,Heading,Note,OptimizedImage,Step,Steps,Tab,Tabs,Warning}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`By default the server `,_jsx(_components.strong,{children:`scales to zero when it is idle`}),`. The next request after a quiet\nperiod has to start the container and validate the license before it can be served, which\ntakes noticeably longer than a normal request, and can be slow enough that the caller gives\nup first.`]}),`\n`,_jsx(Heading,{level:`2`,id:`when-you-need-this`,children:`When you need this`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Symptom:`}),` the server works fine most of the time, but occasionally a scenario is very slow\nor fails with a connection error, and running it again straight away succeeds. Failures\ncluster after periods of no activity.`]})}),`\n`,_jsxs(_components.p,{children:[`This pattern is a cold start, not a broken deployment. If the server fails `,_jsx(_components.strong,{children:`consistently`}),`\nrather than intermittently, this page is not the fix; see\n`,_jsx(_components.a,{href:`/troubleshooting`,children:`Troubleshooting`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`turn-on-always-ready-mode`,children:`Turn on Always Ready Mode`}),`\n`,_jsxs(_components.p,{children:[`You do this yourself in the Magic Meal Kits app: on `,_jsx(_components.strong,{children:`My server`}),` (내 서버) in the new screen, or at\n`,_jsx(_components.strong,{children:_jsx(_components.a,{href:`https://make.magicmealkits.com/app-status`,children:`make.magicmealkits.com/app-status`})}),` on the previous screen.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`The previous screen (v1) is still the default. On the new dashboard (v2) this lives under\n`,_jsx(_components.strong,{children:`My server`}),` (내 서버) > `,_jsx(_components.strong,{children:`Server status and install`}),` (서버 상태와 설치) at\n`,_jsx(_components.a,{href:`https://make.magicmealkits.com/v2/server`,children:`make.magicmealkits.com/v2/server`}),`. Pick the tab\nfor the screen you use.`]})}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`New screen`,id:`new-screen`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Open My server`,children:_jsxs(_components.p,{children:[`At `,_jsx(_components.a,{href:`https://make.magicmealkits.com`,children:`make.magicmealkits.com`}),`, open `,_jsx(_components.strong,{children:`Server status and install`}),`\n(서버 상태와 설치) under `,_jsx(_components.strong,{children:`My server`}),` (내 서버) in the left menu.`]})}),_jsxs(Step,{title:`Turn on Keep always on`,children:[_jsxs(_components.p,{children:[`In the `,_jsx(_components.strong,{children:`Speed and cost`}),` (속도와 비용) section, switch on `,_jsx(_components.strong,{children:`Keep always on`}),` (늘 켜 두기). It is\nthe same setting as Always Ready on the previous screen. It applies\nto the running service right away; no redeploy needed.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/mmk-5fd4bbfe/Aw0a97dypJZnMwRM/assets/operations/v2/always-ready.png?fit=max\u0026auto=format\u0026n=Aw0a97dypJZnMwRM\u0026q=85\u0026s=23ed619ce91ea18bc054e39abda6e696`,alt:`Always Ready toggle on the App Status screen`,\"data-og-width\":`1280`,width:`1280`,\"data-og-height\":`800`,height:`800`,\"data-path\":`assets/operations/v2/always-ready.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/mmk-5fd4bbfe/Aw0a97dypJZnMwRM/assets/operations/v2/always-ready.png?w=280\u0026fit=max\u0026auto=format\u0026n=Aw0a97dypJZnMwRM\u0026q=85\u0026s=a6f0d6ce0e9d12c4308c3bd58c5e75bc 280w, https://mintcdn.com/mmk-5fd4bbfe/Aw0a97dypJZnMwRM/assets/operations/v2/always-ready.png?w=560\u0026fit=max\u0026auto=format\u0026n=Aw0a97dypJZnMwRM\u0026q=85\u0026s=ebfde41a3ddcbb30719949166a9a35cb 560w, https://mintcdn.com/mmk-5fd4bbfe/Aw0a97dypJZnMwRM/assets/operations/v2/always-ready.png?w=840\u0026fit=max\u0026auto=format\u0026n=Aw0a97dypJZnMwRM\u0026q=85\u0026s=242031685678a6b4056c8cf6d91fba92 840w, https://mintcdn.com/mmk-5fd4bbfe/Aw0a97dypJZnMwRM/assets/operations/v2/always-ready.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Aw0a97dypJZnMwRM\u0026q=85\u0026s=38dc6fa1a43ac8769112796f619b5a0d 1100w, https://mintcdn.com/mmk-5fd4bbfe/Aw0a97dypJZnMwRM/assets/operations/v2/always-ready.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Aw0a97dypJZnMwRM\u0026q=85\u0026s=6f92ce95daf8b51bca54376e53cf765d 1650w, https://mintcdn.com/mmk-5fd4bbfe/Aw0a97dypJZnMwRM/assets/operations/v2/always-ready.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Aw0a97dypJZnMwRM\u0026q=85\u0026s=8669bfe64a96e4ae652f5dbce3dbb96d 2500w`})}),_jsx(Frame,{caption:`Zoomed in`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/mmk-5fd4bbfe/Aw0a97dypJZnMwRM/assets/operations/v2/always-ready-zoom.png?fit=max\u0026auto=format\u0026n=Aw0a97dypJZnMwRM\u0026q=85\u0026s=80f2434d793f25ce14c40eb4b417b47e`,alt:`Always Ready toggle on the App Status screen (zoomed in)`,\"data-og-width\":`972`,width:`972`,\"data-og-height\":`496`,height:`496`,\"data-path\":`assets/operations/v2/always-ready-zoom.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/mmk-5fd4bbfe/Aw0a97dypJZnMwRM/assets/operations/v2/always-ready-zoom.png?w=280\u0026fit=max\u0026auto=format\u0026n=Aw0a97dypJZnMwRM\u0026q=85\u0026s=a94047adf94294b3b25f80d130c04c37 280w, https://mintcdn.com/mmk-5fd4bbfe/Aw0a97dypJZnMwRM/assets/operations/v2/always-ready-zoom.png?w=560\u0026fit=max\u0026auto=format\u0026n=Aw0a97dypJZnMwRM\u0026q=85\u0026s=be88a724c4b5630f232f2320fb319bb2 560w, https://mintcdn.com/mmk-5fd4bbfe/Aw0a97dypJZnMwRM/assets/operations/v2/always-ready-zoom.png?w=840\u0026fit=max\u0026auto=format\u0026n=Aw0a97dypJZnMwRM\u0026q=85\u0026s=ee18ffa47ecab5d680066c82f8a43d03 840w, https://mintcdn.com/mmk-5fd4bbfe/Aw0a97dypJZnMwRM/assets/operations/v2/always-ready-zoom.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Aw0a97dypJZnMwRM\u0026q=85\u0026s=fbc6dd16239d561f4cbf35a7108cf657 1100w, https://mintcdn.com/mmk-5fd4bbfe/Aw0a97dypJZnMwRM/assets/operations/v2/always-ready-zoom.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Aw0a97dypJZnMwRM\u0026q=85\u0026s=1baa1ad092689cc4638e1cfce1565257 1650w, https://mintcdn.com/mmk-5fd4bbfe/Aw0a97dypJZnMwRM/assets/operations/v2/always-ready-zoom.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Aw0a97dypJZnMwRM\u0026q=85\u0026s=ea1688c8668c660a470fcc16bcd6c02c 2500w`})})]}),_jsx(Step,{title:`Confirm`,children:_jsx(_components.p,{children:`Re-run the scenario that was failing. The slow request after an idle period should be gone.`})})]})}),_jsx(Tab,{title:`Previous screen`,id:`previous-screen`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Open App Status`,children:_jsxs(_components.p,{children:[`Go to `,_jsx(_components.strong,{children:_jsx(_components.a,{href:`https://make.magicmealkits.com/app-status`,children:`make.magicmealkits.com/app-status`})}),`\nand sign in with the account you use for your deployment.`]})}),_jsxs(Step,{title:`Find Scaling Settings`,children:[_jsxs(_components.p,{children:[`Scroll to the `,_jsx(_components.strong,{children:`Scaling Settings`}),` card at the bottom right of the page.\n`,_jsx(_components.strong,{children:`Always Ready Mode`}),` shows as `,_jsx(_components.strong,{children:`DISABLED`}),` by default.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/mmk-5fd4bbfe/UHvTxhzroEk38PMC/assets/operations/cold-starts/always-ready.png?fit=max\u0026auto=format\u0026n=UHvTxhzroEk38PMC\u0026q=85\u0026s=da9780332f5fd7285e08e2531156a40e`,alt:`App Status page with the Scaling Settings card at the bottom right showing Always Ready Mode set to DISABLED`,\"data-og-width\":`2312`,width:`2312`,\"data-og-height\":`1594`,height:`1594`,\"data-path\":`assets/operations/cold-starts/always-ready.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/mmk-5fd4bbfe/UHvTxhzroEk38PMC/assets/operations/cold-starts/always-ready.png?w=280\u0026fit=max\u0026auto=format\u0026n=UHvTxhzroEk38PMC\u0026q=85\u0026s=756e9c0004718a5aa8e8fa1c6768640b 280w, https://mintcdn.com/mmk-5fd4bbfe/UHvTxhzroEk38PMC/assets/operations/cold-starts/always-ready.png?w=560\u0026fit=max\u0026auto=format\u0026n=UHvTxhzroEk38PMC\u0026q=85\u0026s=a90771d82fe50bc0b0011066b89654e1 560w, https://mintcdn.com/mmk-5fd4bbfe/UHvTxhzroEk38PMC/assets/operations/cold-starts/always-ready.png?w=840\u0026fit=max\u0026auto=format\u0026n=UHvTxhzroEk38PMC\u0026q=85\u0026s=2b3781fc7cbccfcc153923e3f69a72f5 840w, https://mintcdn.com/mmk-5fd4bbfe/UHvTxhzroEk38PMC/assets/operations/cold-starts/always-ready.png?w=1100\u0026fit=max\u0026auto=format\u0026n=UHvTxhzroEk38PMC\u0026q=85\u0026s=b8965ef3e7228c872f2cb363ba1b81b9 1100w, https://mintcdn.com/mmk-5fd4bbfe/UHvTxhzroEk38PMC/assets/operations/cold-starts/always-ready.png?w=1650\u0026fit=max\u0026auto=format\u0026n=UHvTxhzroEk38PMC\u0026q=85\u0026s=ec441c3aa735fe166849742ab220059b 1650w, https://mintcdn.com/mmk-5fd4bbfe/UHvTxhzroEk38PMC/assets/operations/cold-starts/always-ready.png?w=2500\u0026fit=max\u0026auto=format\u0026n=UHvTxhzroEk38PMC\u0026q=85\u0026s=7222ad4ac1713f3fe3c5f564e1440254 2500w`})})]}),_jsxs(Step,{title:`Enable it`,children:[_jsx(_components.p,{children:`Click the toggle. It keeps one instance warm (minimum instances = 1) so requests are\nserved immediately instead of waiting for a container to start.`}),_jsx(_components.p,{children:`The change applies to the running service; no redeploy needed.`})]}),_jsx(Step,{title:`Confirm`,children:_jsx(_components.p,{children:`Re-run the scenario that was failing. Response times should be consistent from the first\nrequest, with no slow outlier after an idle period.`})})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`cost`,children:`Cost`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Always Ready Mode keeps an instance running around the clock, so the service `,_jsx(_components.strong,{children:`no longer\nscales to zero`}),` and usage continues while idle. This is billed by Google Cloud and will\ntake you past the always-free tier. The App Status page labels the enabled state\n`,_jsx(_components.strong,{children:`Premium Cost`}),` for this reason.`]})}),`\n`,_jsxs(_components.p,{children:[`Leave it `,_jsx(_components.strong,{children:`off`}),` if occasional slow first requests are acceptable; scheduled scenarios that\nrun every few minutes usually keep the instance warm on their own, and cold starts only show\nup after genuinely quiet periods. Turn it `,_jsx(_components.strong,{children:`on`}),` when requests must respond predictably, such\nas webhooks or user-facing automations.`]}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/operations/google-cloud-billing`,children:`Google Cloud billing`}),` for how billing is set up on\nyour project.`]}),`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Slow under load rather than after idling? That is a memory problem, not a cold start;\nsee `,_jsx(_components.a,{href:`/operations/upgrade-performance`,children:`Performance \u0026 memory`}),`.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Fix slow or failing first requests (cold starts)","sidebarTitle":"Cold starts","description":"Use this when the server is intermittently slow or unreachable after a quiet period; turn on Always Ready Mode so an instance stays warm instead of scaling to zero.","href":"/operations/cold-starts"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"When you need this","slug":"when-you-need-this","depth":2,"children":[]},{"title":"Turn on Always Ready Mode","slug":"turn-on-always-ready-mode","depth":2,"children":[]},{"title":"Cost","slug":"cost","depth":2,"children":[]},{"title":"Related","slug":"related","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"mmk-5fd4bbfe","siteName":"Magic Meal Kits","title":"Fix slow or failing first requests (cold starts) - Magic Meal Kits","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/operations/cold-starts","matchLevel":0},"ko":{"href":"/ko/operations/cold-starts","matchLevel":1}}},"lastModified":"2026-10-29T17:37:14.037Z","originalFileLocation":"operations/cold-starts.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Use this when the server is intermittently slow or unreachable after a quiet period; turn on Always Ready Mode so an instance stays warm instead of scaling to zero.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Magic Meal Kits\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mmk-5fd4bbfe/VkbLfwUYdTdYUw_E/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/mmk-5fd4bbfe/VkbLfwUYdTdYUw_E/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mmk-5fd4bbfe/VkbLfwUYdTdYUw_E/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mmk-5fd4bbfe/VkbLfwUYdTdYUw_E/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mmk-5fd4bbfe/VkbLfwUYdTdYUw_E/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mmk-5fd4bbfe/VkbLfwUYdTdYUw_E/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mmk-5fd4bbfe/VkbLfwUYdTdYUw_E/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mmk-5fd4bbfe/VkbLfwUYdTdYUw_E/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mmk-5fd4bbfe/VkbLfwUYdTdYUw_E/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Fix slow or failing first requests (cold starts) - Magic Meal Kits\">\u003cmeta data-mint-head property=\"og:description\" content=\"Use this when the server is intermittently slow or unreachable after a quiet period; turn on Always Ready Mode so an instance stays warm instead of scaling to zero.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Magic Meal Kits\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.magicmealkits.com/operations/cold-starts\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mmk-5fd4bbfe.mintlify.site/_mintlify/api/og/v2?division=Troubleshooting\u0026amp;title=Fix+slow+or+failing+first+requests+%28cold+starts%29\u0026amp;description=Use+this+when+the+server+is+intermittently+slow+or+unreachable+after+a+quiet+period%3B+turn+on+Always+Ready+Mode+so+an+instance+stays+warm+instead+of+scaling+to+z\u0026amp;theme=dfbd49039a02db98c48a7850\u0026amp;signature=8dd78f8cee826eb1a0bd848019af8a89146fa24198e1d1fcaf0af68e77e9288f\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Fix slow or failing first requests (cold starts) - Magic Meal Kits\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Use this when the server is intermittently slow or unreachable after a quiet period; turn on Always Ready Mode so an instance stays warm instead of scaling to zero.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mmk-5fd4bbfe.mintlify.site/_mintlify/api/og/v2?division=Troubleshooting\u0026amp;title=Fix+slow+or+failing+first+requests+%28cold+starts%29\u0026amp;description=Use+this+when+the+server+is+intermittently+slow+or+unreachable+after+a+quiet+period%3B+turn+on+Always+Ready+Mode+so+an+instance+stays+warm+instead+of+scaling+to+z\u0026amp;theme=dfbd49039a02db98c48a7850\u0026amp;signature=8dd78f8cee826eb1a0bd848019af8a89146fa24198e1d1fcaf0af68e77e9288f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/mmk-5fd4bbfe/VkbLfwUYdTdYUw_E/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Magic Meal Kits\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6D28D9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.magicmealkits.com/operations/cold-starts\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/operations/cold-starts.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.magicmealkits.com/operations/cold-starts\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.magicmealkits.com/ko/operations/cold-starts\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.magicmealkits.com/operations/cold-starts\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.magicmealkits.com/#organization\",\"name\":\"Magic Meal Kits\",\"url\":\"https://docs.magicmealkits.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mmk-5fd4bbfe/E1wkFWl4VdSd4wXr/logo/light.png?fit=max\u0026auto=format\u0026n=E1wkFWl4VdSd4wXr\u0026q=85\u0026s=13e61b9f63d274bec5e49bf81ef8f6d8\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.magicmealkits.com#website\",\"name\":\"Magic Meal Kits\",\"url\":\"https://docs.magicmealkits.com\",\"publisher\":{\"@id\":\"https://docs.magicmealkits.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.magicmealkits.com/operations/cold-starts#webpage\",\"url\":\"https://docs.magicmealkits.com/operations/cold-starts\",\"name\":\"Fix slow or failing first requests (cold starts)\",\"description\":\"Use this when the server is intermittently slow or unreachable after a quiet period; turn on Always Ready Mode so an instance stays warm instead of scaling to zero.\",\"dateModified\":\"2026-10-29T17:37:14.037Z\",\"isPartOf\":{\"@id\":\"https://docs.magicmealkits.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.magicmealkits.com/operations/cold-starts#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.magicmealkits.com/operations/cold-starts#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Troubleshooting\",\"item\":\"https://docs.magicmealkits.com/troubleshooting\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Fix slow or failing first requests (cold starts)\",\"item\":\"https://docs.magicmealkits.com/operations/cold-starts\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.magicmealkits.com/operations/cold-starts#article\",\"headline\":\"Fix slow or failing first requests (cold starts)\",\"name\":\"Fix slow or failing first requests (cold starts)\",\"description\":\"Use this when the server is intermittently slow or unreachable after a quiet period; turn on Always Ready Mode so an instance stays warm instead of scaling to zero.\",\"url\":\"https://docs.magicmealkits.com/operations/cold-starts\",\"mainEntityOfPage\":{\"@id\":\"https://docs.magicmealkits.com/operations/cold-starts#webpage\"},\"dateModified\":\"2026-10-29T17:37:14.037Z\",\"publisher\":{\"@id\":\"https://docs.magicmealkits.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.magicmealkits.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Magic Meal Kits\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Magic Meal Kits\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/operations/cold-starts.md","siteName":"Magic Meal Kits","nav":{"global":{"anchors":[{"anchor":"CLI (npm)","icon":"terminal","href":"https://www.npmjs.com/package/@magic-meal-kits/cli"},{"anchor":"Magic Meal Kits","icon":"globe","href":"https://make.magicmealkits.com/"}]},"languages":[{"language":"en","default":true,"tabs":[{"tab":"Get Started","groups":[{"group":"First steps","pages":[{"title":"Welcome","sidebarTitle":"Welcome","href":"/onboarding/overview"},{"title":"Prepare a Google account","href":"/onboarding/google-account"},{"title":"Sign up for Google Cloud","href":"/onboarding/google-cloud-signup"},{"title":"Check billing","href":"/onboarding/billing-check"},{"title":"Test your first module","href":"/onboarding/first-module"},{"title":"Next steps","href":"/onboarding/next-steps"}]},{"group":"Overview","pages":[{"title":"Magic Meal Kits","href":"/introduction"},{"title":"Installation","href":"/installation"},{"title":"Authentication","href":"/authentication"},{"title":"Quickstart","href":"/quickstart"},{"title":"FAQ","href":"/faq"}]},{"group":"Troubleshooting","pages":[{"title":"Troubleshooting","sidebarTitle":"Start here","href":"/troubleshooting"},{"title":"Activate Google Cloud billing (upgrade)","sidebarTitle":"Billing \u0026 upgrade","href":"/operations/google-cloud-billing"},{"title":"Fix persistent 503 errors (force re-activate)","sidebarTitle":"Fix 503 errors","href":"/operations/fix-503-force-sync"},{"title":"Fix Notion connection \u0026 permission errors","sidebarTitle":"Notion connection","href":"/operations/notion-connection"},{"title":"Connect your Plaud account","sidebarTitle":"Connect Plaud","href":"/operations/plaud-connection"},{"title":"Renew the Notion token in a Make connection","sidebarTitle":"Renew Notion token","href":"/operations/renew-notion-token"},{"title":"Upgrade performance (memory tier)","sidebarTitle":"Performance \u0026 memory","description":"Use this when Magic Meal Kits is slow or runs out of memory under heavy load; change the server size from Free (256 MB) to Standard (512 MB) on My server.","href":"/operations/upgrade-performance"},{"title":"Fix slow or failing first requests (cold starts)","sidebarTitle":"Cold starts","href":"/operations/cold-starts"},{"title":"Make integration tips \u0026 gotchas","sidebarTitle":"Make.com tips","description":"Use this when building Make scenarios with Magic Meal Kits — find the modules, set request timeouts, avoid duplicate runs, and stay within Notion rate limits.","href":"/operations/make-integration-tips"},{"title":"Share system logs with support","sidebarTitle":"Share logs","href":"/operations/share-system-logs"},{"title":"Share a Make module's input and output","sidebarTitle":"Share module input and output","href":"/operations/share-module-io"},{"title":"Stop or reinstall the service","sidebarTitle":"Stop or reinstall","href":"/operations/stop-reinstall"},{"title":"Reissue (rotate) your API key","sidebarTitle":"Reissue API key","href":"/operations/reissue-api-key"}]}]},{"tab":"API","pages":[{"title":"API","href":"/api-reference/overview"}]},{"tab":"MCP","pages":[{"title":"MCP","href":"/mcp/overview"}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli/overview"}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/paymint/getting-started"}]}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/operations/cold-starts"}]}]},"basePath":"","title":"Fix slow or failing first requests (cold starts) - Magic Meal Kits","deploymentId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","buildId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-Dt3ifMRv.js","DynamicMarkdown-Dgh_e4rL.js","zoom-image-lightbox-DJOZ-2Ph.js","lightbox-handle-r17bVUz3.js"]}