Serverless Sandbox Checkpoint Rewind for Fast Isolation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing serverless computing technologies face challenges in maintaining statelessness between function requests, leading to potential leakage of private data due to incomplete isolation, and the use of warm sandboxes does not guarantee full isolation, reducing processing speed.

Innovation Solution

A checkpoint and rewind method is implemented in a serverless platform, where the initial state of a sandbox is stored and restored using a buddy page table and copy-on-write algorithm, ensuring complete isolation and data residue removal.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If sandbox initialization is performed to maintain statelessness, then isolation between function requests is improved, but processing speed deteriorates

Engineering Contradiction:
Improveisolation between function requestsVSAvoidprocessing speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent performs preliminary actions by creating a checkpoint of the sandbox state before function execution and preparing for potential rewind operations. This allows the sandbox to be quickly reset to its initial state without full re-initialization, resolving the contradiction between maintaining isolation and preserving processing speed.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent uses copying mechanisms to create and restore sandbox states. By maintaining copies of the initial sandbox state and using checkpoint/rewind operations, the system achieves both isolation (through state copying) and speed (by avoiding full re-initialization).

Inventive Principle:
Principle #26Copying

2Productivity

If warm sandbox technology is used to improve processing speed, then productivity is improved, but isolation between function requests deteriorates leading to data leakage

Engineering Contradiction:
Improveprocessing speedVSAvoidisolation between function requests
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent performs preliminary actions by creating a checkpoint of the sandbox state before function execution and preparing for potential rewind operations. This allows the sandbox to be quickly reset to its initial state without full re-initialization, resolving the contradiction between maintaining isolation and preserving processing speed.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements discarding and recovering by rewinding the sandbox state to its initial checkpoint after function execution. This discards any data residues from the previous function while recovering the clean initial state, ensuring isolation is maintained even when reusing the same sandbox for improved productivity.

Inventive Principle:
Principle #34Discarding and recovering

Data Source

PatentUS20250363010A1Checkpoint and rewind method and apparatus in serverless platform
Publication Date: 2025.11.27 UI (UNIVERSITY IND FOUNDATION) YONSEI UNIVERSITY
  • US20250363010A1 patent drawing
  • US20250363010A1 patent drawing
  • US20250363010A1 patent drawing

AI summary

Disclosed is a checkpoint and rewind method in a serverless platform. The checkpoint and rewind method in a serverless platform performed by at least one processor includes receiving a function execution request on the serverless platform, storing an initial state of a sandbox by performing a checkpoint operation on the sandbox associated with the function execution request, and restoring a state of the sandbox to the stored initial state by performing a rewind operation on the sandbox after a task corresponding to the function execution request is completed.