When to use a warm session
- Your users start sessions often and notice the wait while a new session provisions.
- Your cluster can afford one extra session pod running at all times. The spare consumes compute and storage even when nobody is using it.
Prerequisites
- You are signed in as an administrator.
Turn on a warm session
- Sign in to Cake Agents as an administrator.
- Open
Settings → Organization → General. - Toggle Keep a session warm on.
How the warm session works
- The spare is owned by an internal service account and is always private. It does not appear in anyone’s session list.
- When you create a session, Cake Agents assigns the ready spare to you with your title, model, privacy setting, and Slack thread, if any.
- Cake Agents then restarts the spare’s pod so it loads your configuration, such as your providers and instructions. This restart is faster than provisioning a new session from scratch.
- After a spare is claimed, Cake Agents provisions a new spare in the background for the next session.
- If no spare is ready, for example because two sessions start at the same time, Cake Agents creates the session the usual way.