Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Serverless Remove topic Serverless Clear all 33 posts RSS

2026

2025

Modal

GPU Memory Snapshots: Supercharging sub-second startup

Announcement 6 min +60 XP

Modal's GPU memory snapshots extend its gVisor-based checkpoint/restore to capture GPU state, using NVIDIA's new CUDA checkpoint API (driver branches 570/575) to lock CUDA processes, copy device memory, kernels, streams, contexts and memory mappings to host memory, then snapshot CPU and GPU state together.

Modal

Memory snapshots: Checkpoint/restore for sub-second startup

Deep dive 9 min +90 XP

Modal cuts serverless container cold starts roughly 2.5x by checkpointing a gVisor container's full process tree and filesystem mutations just before it accepts a request, then restoring it instead of re-running Python's syscall-heavy import path (import torch alone makes 26,000 syscalls through OverlayFS and a FUSE lazy-loading server).

2024

Modal

Building a cost-effective analytics stack with Modal, dlt, and dbt

How-to 11 min +110 XP

Modal runs its whole analytics stack on Modal: dlt loads data from a Postgres read replica into Snowflake, dbt transforms it, and GitHub Actions handles CI/CD. dlt replaced hand-written psycopg2 code and removes manual schema definitions, Snowflake DDL and error-prone incremental logic.

The quest for software engineering knowledge.

Look:
Layout: