All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
Bluesky
Twitter
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Laravel Cloud Achieves Sub-500ms Scale-to-Zero Using Checkpoint/Restore Technology

By

Laravel Team

9h ago· 6 min readenInsight

Summary

Laravel Cloud introduced a new "Flex" scale-to-zero feature that reduces wake time from 10 seconds to under 500 milliseconds using checkpoint/restore technology. Instead of performing a cold boot on every request, the runtime saves the full in-memory state to disk and restores it instantly. The original implementation had a 10-second wake time that was noticeable to users, and adding database/cache startup would have made it worse, so most apps kept those running continuously. The new approach also includes spending limits that enforce a hard monthly ceiling for apps.

Key quotes

· 4 pulled
The original implementation of scale to zero on Cloud had a 10-second wake time, long enough for users to notice.
The new scale-to-zero Flex compute uses checkpoint/restore.
Instead of a cold boot on every request, the runtime saves the full in-memory state to disk and restores it instantly.
Wake time drops to under 500 milliseconds.
Snippet from the RSS feed
Learn how the Laravel Cloud team built sub-500 ms scale to zero using checkpoint/restore, and how spending limits enforce a hard monthly ceiling for your apps.

You might also wanna read