Better HN
topnewbestaskshowjobs
Log inSign up

zzsheng

33 karma · joined Nov 2, 2024 (2y ago) · 19 submissions

Submissions

1.

Benchmark object storage in objects/s, not GB/s(fractalbits.com ↗)

8 points · by zzsheng · 5mo ago · discuss

comment 6mo ago · link · parent

we manage memory instead of relying on page cache

comment 6mo ago · link · parent

sorry, typo. data will *not* be lost.

comment 6mo ago · link · parent

check s3 express one zone

comment 6mo ago · link · parent

journal file was pre-alloacated and we use direct-io for journal write so no need to call fsync.

comment 6mo ago · link · parent

nop. we will not ack any write which is not in data or journal. please check the put details in the blog.

comment 6mo ago · link · parent

actually both crash consistentcy and durability. after we ack, we make sure data will be lost due to crash, restart or power loss.

comment 6mo ago · link · parent

we also use direct-io for reads.

comment 6mo ago · link · parent

thanks for feedback. actually it was pointed out in blog that we do not use append only log to avoid fsync due to size change. what we use is preallocate fixed size log file and we do write journal data and space reclaim by 4KB unit, also with direct-io.

comment 6mo ago · link · parent

Author here. This is not a general argument against fsync; the design depends on SSD-only deployment, preallocated files, O_DIRECT, single-key atomicity, and device write guarantees.

11.

Removing fsync from our local storage engine(fractalbits.com ↗)

66 points · by zzsheng · 6mo ago · 78 comments

12.

To fsync or not, that is a question(fractalbits.com ↗)

2 points · by zzsheng · 6mo ago · 1 comment

13.

Bootstrapping a Storage Cluster with S3 Based Workflow and Barriers(fractalbits.com ↗)

5 points · by zzsheng · 7mo ago · discuss