frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Removing fsync from our local storage engine

https://fractalbits.com/blog/remove-fsync/
20•zzsheng•2d ago

Comments

zzsheng•2d ago
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.
alexhnn•2d ago
Working with files is hard [1], and most of the complicity is from the fsync API. I am glad it can be eliminated from a kv storage engine.

[1] https://news.ycombinator.com/item?id=42805425

dboreham•1h ago
Almost full-circle back to when Oracle took over the entire volume and implemented its own filesystem.
dale_glass•39m ago
I wonder why this is not more common. LVM is easy to set up, and it's already common to allocate volumes for things like disk images for VMs, so why not databases?
pizza234•18m ago
Because the speed increase is - on modern, properly tuned filesystems - surprisingly small, due to how RDBMS's manage their pool; by working on large container files, they avoid most of the filesystem overhead.
myself248•59m ago
To step back a bit, the device still has a filesystem on it, and the structures described here are files within the filesystem? Just you're able to write directly into them, bypassing the filesystem layer, because you've constrained yourself to writes that don't require updating other parts of the filesystem structure?
nh2•41m ago
> fsync doesn’t just sync the file’s data, it syncs every piece of metadata the file depends on: ... directory entry

Famously not, as the man page says.

It is also said later in the article:

> POSIX strictly requires a parent-directory fsync to make a newly created file’s existence durable.

So I'm not sure why the dirent sync is claimed earlier.

matja•7m ago
Even with O_DIRECT and aligned blocks, I still don't understand how the storage engine can return a "successful commit" to the client without a sync at some point, because a sync (IIRC) is the only way to guarantee an ATA/NVMe FUA command is sent, and the device write cache/buffer is committed.

Internet Archive Switzerland

https://internetarchive.ch/
199•hggh•3h ago•25 comments

Google broke reCAPTCHA for de-googled Android users

https://reclaimthenet.org/google-broke-recaptcha-for-de-googled-android-users
1258•anonymousiam•20h ago•454 comments

Using Claude Code: The unreasonable effectiveness of HTML

https://twitter.com/trq212/status/2052809885763747935
285•pretext•10h ago•177 comments

LLMs Corrupt Your Documents When You Delegate

https://arxiv.org/abs/2604.15597
98•rbanffy•6h ago•32 comments

PipeDream on the Acorn Archimedes

https://stonetools.ghost.io/pipedream-archimedes/
3•msephton•21m ago•0 comments

A recent experience with ChatGPT 5.5 Pro

https://gowers.wordpress.com/2026/05/08/a-recent-experience-with-chatgpt-5-5-pro/
471•_alternator_•12h ago•329 comments

How LEDs are made (2014)

https://learn.sparkfun.com/tutorials/how-leds-are-made/all
51•smig0•2d ago•6 comments

Mythical Man Month

https://martinfowler.com/bliki/MythicalManMonth.html
251•ingve•2d ago•155 comments

OpenAI’s WebRTC problem

https://moq.dev/blog/webrtc-is-the-problem/
399•atgctg•1d ago•110 comments

America's carpet capital: an empire and its toxic legacy

https://apnews.com/projects/pfas-forever-stained/
95•rawgabbit•3d ago•51 comments

The FCC Wants Your ID Before You Get a Phone Number

https://reclaimthenet.org/the-fcc-wants-your-id-before-you-get-a-phone-number
35•delichon•1h ago•29 comments

Making Julia as Fast as C++ (2019)

https://flow.byu.edu/posts/julia-c++
45•d_tr•2d ago•30 comments

Removing fsync from our local storage engine

https://fractalbits.com/blog/remove-fsync/
20•zzsheng•2d ago•9 comments

David Attenborough's 100th Birthday

https://www.bbc.com/news/articles/cp3pww9g0p5o
752•defrost•1d ago•145 comments

Reviving the IBM Selectric Composer Fonts (2023)

https://www.kutilek.de/selectric/
33•tangus•2d ago•1 comments

Read Programming as Theory Building

https://codeutopia.net/blog/2026/05/09/you-should-read-programming-as-theory-building/
29•birdculture•1h ago•4 comments

What causes lightning? The answer keeps getting more interesting

https://www.quantamagazine.org/what-causes-lightning-the-answer-keeps-getting-more-interesting-20...
119•Tomte•2d ago•26 comments

Killswitch: Per-function short-circuit mitigation primitive

https://lwn.net/ml/all/20260507070547.2268452-1-sashal@kernel.org/
46•signa11•6h ago•10 comments

Wi is Fi: Understanding Wi-Fi 4/5/6/6E/7/8 (802.11 n/AC/ax/be/bn)

https://www.wiisfi.com/
298•homebrewer•2d ago•81 comments

AI is breaking two vulnerability cultures

https://www.jefftk.com/p/ai-is-breaking-two-vulnerability-cultures
369•speckx•21h ago•147 comments

Cartoon Network Flash Games

https://www.webdesignmuseum.org/flash-game-exhibitions/cartoon-network-flash-games
378•willmeyers•22h ago•118 comments

AWS North Virginia data center outage – resolved

https://www.cnbc.com/2026/05/08/aws-outage-data-center-fanduel-coinbase.html
244•christhecaribou•1d ago•171 comments

An Introduction to Meshtastic

https://meshtastic.org/docs/introduction/
471•ColinWright•1d ago•171 comments

The React2Shell Story

https://lachlan.nz/blog/the-react2shell-story/
184•mufeedvh•22h ago•29 comments

Forking the Web

https://dillo-browser.org/lab/web-fork/
63•wrxd•3h ago•58 comments

Teaching Claude Why

https://www.anthropic.com/research/teaching-claude-why
214•pretext•21h ago•105 comments

You gave me a u32. I gave you root. (io_uring ZCRX freelist LPE)

https://ze3tar.github.io/post-zcrx.html
199•MrBruh•19h ago•121 comments

Show HN: Free tool to mark points and polygon regions

https://tack.pics
5•magikMaker•2d ago•2 comments

Can LLMs model real-world systems in TLA+?

https://www.sigops.org/2026/can-llms-model-real-world-systems-in-tla/
106•mad•23h ago•27 comments

Serving a website on a Raspberry Pi Zero running in RAM

https://btxx.org/posts/memory/
235•xngbuilds•1d ago•94 comments