10 releases

0.7.2 Jul 4, 2023
0.7.1 Jul 4, 2023
0.6.1 Jun 30, 2023
0.5.7 Jun 30, 2023

#6 in #blobd

Download history

79 downloads per month

SSPL-1.0

96KB
2K SLoC

blobd

Extremely fast object storage, performing at raw device speeds. Achieves constant sub-millisecond latency random partial reads over objects regardless of size.

Read the blog post for an accessible deep dive.

Usage

blobd requires Linux 6.11+, a NVMe SSD with support for atomic writes of 512-byte blocks, and direct access to the raw block device. Install the server by using cargo:

cargo install blobd

Then set up the configuration file:

device:
  path: /dev/my-nvme-device
  offset: 0
  len: <length of block device in bytes>
token_secret_base64: abcdef1234567890abcdef1234567890
interface: 127.0.0.1
port: 8080

Now you can format the device and start the server:

blobd --config my-config.yaml --format
blobd --config my-config.yaml

The server can now be accessed over HTTP. Clients are available for Node.js and Rust.

History

This project used to be called Turbostore and was written entirely in C; you can still see the code here.

Dependencies

~13–18MB
~259K SLoC