Company
Date Published
Author
Connor Brewster
Word count
1707
Language
English
Hacker News points
5

Summary

We've introduced Replit Deployments, a tool that allows users to quickly deploy their ideas to production. To improve deployment times, we're using lazy image streaming technology, which allows the container to start before the full filesystem is downloaded. This approach uses FUSE (Filesystem in Userspace) to decouple the container's root file system from downloading the file system itself, and two snapshotter approaches: stargz and SOCI, which provide seekable formats for traditional OCI container images. These technologies reduce deployment times by up to 3 minutes, making it possible to deploy Repls in under 30 seconds even on small VMs with limited resources. We'll continue to optimize our image building process and deployment flow to make deployments faster in the future.