Snowflake’s serverless App Runtime keeps the URL, not the SQL agent’s session state
The November 19 preview can stop an idle app and restart it on the next request. For an internal SQL assistant, the test is whether a follow-up still works after that restart.
Snowflake’s November 19 App Runtime preview adds an opt-in serverless deployment option for apps, including Python 3.13 apps such as FastAPI services. Managed compute remains the default. In serverless mode, an incoming request starts the app if it has stopped, and that request waits for startup. Snowflake bills while the app runs; the serverless guide says the default idle timeout is one hour, not that billing stops as soon as a request finishes.
A stable address is not a durable session
The Application Service, deployed package, configuration and URL survive a stop. In-process caches and files written to the container’s local filesystem do not. For an internal SQL assistant, that distinction matters when a user asks “now break that down by region.” If the app saved the selected metric and date range only in memory, it cannot recover that context from the stable URL after a restart. The serverless guide advises putting anything the app must retain in durable storage and using memory or local files only for disposable data.
A practical acceptance test: run a question with a specific metric and date range, let the app suspend, then send a follow-up that leaves both out. Check that it uses the same context or explicitly asks the user to restate it. Record the first response time after suspend separately from warm response time. For shared apps, repeat the test with a second account and verify that it does not inherit the first user's context. This is a suggested rollout test, not a reported Snowflake benchmark.
Treat the move as a new deployment
Snowflake says an existing Application Service cannot be converted to serverless in place. A migration creates a new service, and grants on the old one do not carry over. The preview limits also specify one fixed instance per app, with 2 vCPU and 4 GiB of memory. The event table receives logs, but not metrics, restart counts or container lifecycle events. For a pilot, verify user access on the new service before directing people to it, and measure cold-start and concurrent-use behavior directly rather than relying on the event table to report it.
sources
- November 19 Snowflake release notedocs.snowflake.com
- Snowflake App Runtime serverless computedocs.snowflake.com
- Snowflake App Runtime limitationsdocs.snowflake.com
- Build a Python app for Snowflake App Runtimedocs.snowflake.com
comments · 0