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.

Building blobd: A High-Performance Single-Machine Object Store with Sub-Millisecond Reads

By

charlieirish

6mo ago· 19 min readenInsight

Summary

The article details the development of 'blobd', a single-machine object store optimized for low-latency random reads and high-throughput uploads. Built using async Rust, io_uring, and atomic writes, the system achieves sub-millisecond reads and 15 GB/s upload speeds by leveraging modern NVMe SSD capabilities. The author explores technical challenges like metadata management, data layout optimization, and performance benchmarking against existing solutions, presenting this as both a learning exercise and a demonstration of what's possible with current hardware.

Key quotes

· 5 pulled
Modern NVMe SSDs can do hundreds of thousands of random I/O reads per second.
I decided to experiment with writing an object store from scratch as a fun learning exercise, and to see how much I could get out of NVMe disks I had on my bare metal machines.
Specifically, I wanted to really optimize for random reads and small objects — serving user content where the lower the latency, the better.
This would not focus on other features; S3 is bottomless, distributed, and managed for example.
Deep dive into blobd, an object store designed for constant low latency reads using async Rust, io_uring and atomic writes.
Snippet from the RSS feed
Deep dive into blobd, an object store designed for constant low latency reads using async Rust, io_uring and atomic writes

You might also wanna read