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
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Nanit Saves $500,000 Annually by Building Custom In-Memory Storage System to Replace S3

By

mpweiher

7mo ago· 11 min readenInsight

Summary

Nanit, a baby monitoring company, built a custom in-memory storage system called N3 to replace Amazon S3 as the landing zone for their video processing pipeline. They were processing thousands of video uploads per second for sleep-state inference, and S3's PutObject request fees and 24-hour minimum storage lifecycle rules were costing them approximately $500,000 per year. By developing a Rust-based solution that uses S3 only as an overflow buffer, they eliminated both cost issues and achieved significant savings.

Key quotes

· 4 pulled
We used S3 as a landing zone for Nanit's video processing pipeline (baby sleep-state inference), but at thousands of uploads/second, S3's PutObject request fees dominated costs.
Worse, S3's auto-cleanup (Lifecycle rules) has a 1-day minimum; we paid for 24 hours of storage on objects processed in ~2 seconds.
We built N3, a Rust-based in-memory landing zone that eliminates both issues, using S3 only as an overflow buffer.
Result: meaningful cost reduction (~$0.5M/year).
Snippet from the RSS feed
How We Saved $500,000 Per Year by Rolling Our Own “S3” tl;dr We used S3 as a landing zone for Nanit’s video processing pipeline (baby sleep-state inference), but at thousands of uploads/second …

You might also wanna read