frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

We Replaced MMAP with Io_uring in Our Rust Query Engine. It Got Slower

https://www.conviva.ai/resource/we-replaced-mmap-with-io_uring-in-our-rust-query-engine-it-got-slower/
17•rzk•2h ago

Comments

nottorp•29m ago
Yay, first article (for me!) that i actually click on because the title is interesting, and then it puts me off because it's LLM generated.

By the way, what does Rust have to do with their problem? Is Rust simply bad at io_uring? :)

cbarnes99•25m ago
Rust is just the language they happened to be working in. If you read through the LLM generated garbage it becomes clear that io_uring isnt the problem, their code was just slop / bad.
nottorp•15m ago
That was hinted at in the summary for part 2, which i couldn't bring myself to click on.

But my interpretation is still more fun!

orlp•10m ago
We had a similar experience in Polars trying to use io_uring.

Rust isn't inherently bad at io_uring but at least Tokio currently is. I'm not the one who implemented and benchmarked it so this is second-hand information but if I recall correctly Tokio shares one buffer pool for all threads so as you scale to 100+ threads the whole thing grinds to a halt.

Migrating our I/O to a different async runtime than Tokio was rejected. So we'll wait until it's fixed in Tokio and now use regular blocking reads instead.

muragekibicho•25m ago
The article's subheadings suggest this is AI slop. Seeing a section titles "The Production Symptom" is a Claudism in itself.
wolfi1•17m ago
production symptom? is this equivalent to "kidney disappointment"?
samus•23m ago
It would have been more precise to say O_DIRECT instead of io_uring. The point of io_uring is to avoid syscall overhead. What they were after was actually managing a page cache on their own, and it turned out to be more complicated than they thought.
londons_explore•9m ago
There is a pattern in software engineering of:

* Project exists

* New employees come up with idea for efficiency improvement

* Months spent implementing. Old codepath becomes legacy.

* New thing now has extra features bolted on during build.

* Efficiency of new thing turns out worse than original, but now the new features and 'less technical debt' are the drivers.

* New thing launches, old thing deprecated, but there is little real benefit to all those months of work.

jandrewrogers•6m ago
An issue here is that mmap and io_uring require fundamentally different software architectures in a performance context. You shouldn’t swap them out.

APIs like io_uring, combined with O_DIRECT, allow you to design your own workload-specific userspace scheduler from first principles. If you are delegating scheduling to a runtime then you’ve forfeited most of the performance advantages those APIs were designed to provide. In many cases, the performance will be worse. By contrast, mmap implicitly delegates all scheduling decisions and it has some advantages if delegation is your strategy compared to a runtime.

The benefits of io_uring are limited without a commitment to designing your own schedulers. On the upside, skilled scheduler designers can increase performance by substantial integer factors using these APIs versus mmap. Designing application-specific schedulers is not easy, it is a high-skill endeavor. But the reward is real.

Using io_uring well requires going all-in on the software architecture it requires to show what it can do.

Astra for Coding: Why Are We Doing This Again?

https://lucumr.pocoo.org/2026/9/7/astra-why/
164•manojbajaj95•1h ago•80 comments

Shopify is moving from React Native back to Swift and Kotlin

https://shopify.engineering/back-to-native
994•fnthawar2•17h ago•678 comments

The Gemini app is now available for Windows

https://blog.google/innovation-and-ai/products/gemini-app/gemini-app-now-on-windows/
27•quysala12•2h ago•13 comments

We Replaced MMAP with Io_uring in Our Rust Query Engine. It Got Slower

https://www.conviva.ai/resource/we-replaced-mmap-with-io_uring-in-our-rust-query-engine-it-got-sl...
17•rzk•2h ago•9 comments

Don't let anyone take away your big box of cables

https://blog.jim-nielsen.com/2026/hands-off-my-cables/
463•Brajeshwar•16h ago•317 comments

Nine coding harnesses vs. your laptop

https://nasutton.notion.site/Nine-coding-harnesses-vs-your-laptop-3d139990182b80d59fa3cf500f0450b...
63•nasutton12•8h ago•12 comments

OpenAI Agents API

https://developers.openai.com/api/docs/guides/agents-api/overview
233•aquir•11h ago•131 comments

Working with Git Worktrees in Magit

https://emacsredux.com/blog/2026/09/02/working-with-git-worktrees-in-magit/
20•srijan4•3d ago•3 comments

Cognition launches new SWE-2 model, Rivaling Fable 5.1 and GPT-Astra

https://cognition.com/blog/swe-2
405•seelos•16h ago•170 comments

The Deathray: A simple way for an untrusted site to freeze a Mac

https://auberon.xyz/blog/posts/deathray/
154•auberonedu•11h ago•100 comments

Mexican student creates an acoustic fire extinguisher to put out fire in seconds

https://www.upsocl.com/en/16-year-old-mexican-student-creates-an-acoustic-fire-extinguisher-that-...
170•rguiscard•6h ago•63 comments

Technique for Manipulating Satellite Photos Now Reveals Ancient Images (2025)

https://spinoff.nasa.gov/Manipulating_Satellite_Photos_Now_Reveals_Ancient_Images
321•gumby•16h ago•51 comments

Thelio Mira AI Linux Workstation: 192 GB GPU Memory

https://system76.com/workstations/thelio-mira-ai
87•jonifico•8h ago•67 comments

NTSB issues investigative update on B-767 runway excursion accident in Miami

https://www.ntsb.gov:443/news/press-releases/Pages/NR20260909.aspx
94•mckn1ght•10h ago•157 comments

YuE2 · Frontier Music with Symbolic Planning

https://map-yue2.github.io/
85•sexy_seedbox•6h ago•67 comments

Stop making swap partitions–use swap files instead

https://gist.github.com/joshenders/c4960cec9c63a7b7d68ffa9543356c43
8•jenders•2d ago•5 comments

iPhone Duo

https://www.apple.com/iphone-duo/
1442•thecosmicfrog•1d ago•2478 comments

More questions about whether researchers can trust OpenAI with unpublished math

https://mathstodon.xyz/@andreasthom/117240535270608201
783•pred_•1d ago•721 comments

Music Theory for the 21st-Century Classroom

https://musictheory.pugetsound.edu/mt21c/MusicTheory.html
212•aanet•14h ago•87 comments

Proof of Capture: Apple Reference Image, but open source and using steganography

https://merybenavente.me/blog/proof-of-capture
99•merybenavente•11h ago•54 comments

Forgejo <=16.0.3 Critical RCE

https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/16.0.4.md
171•weierstass•15h ago•62 comments

Neki – Sharded Postgres

https://planetscale.com/blog/introducing-neki
235•simon_weber•15h ago•129 comments

Exercise intensity is associated with cardiometabolic health

https://www.cell.com/cell-reports-medicine/fulltext/S2666-3791(26)00405-2
80•qclibre22•3h ago•39 comments

Rust is tier-1 language at Microsoft

https://rustfoundation.org/media/guest-post-rust-is-tier-1-language-at-microsoft/
653•mmastrac•17h ago•389 comments

Douglas Hofstadter: Analogy as the Core of Cognition [video]

https://www.youtube.com/watch?v=n8m7lFQ3njk
168•tosh•4d ago•78 comments

Detecting and countering misuse of AI: September 2026

https://www.anthropic.com/threat-intelligence-report-september-2026
119•garo-pro•14h ago•187 comments

Hitachi launches CO2 heat pump water heaters with solar-friendly tariff controls

https://www.pv-magazine.com/2026/09/07/hitachi-launches-co2-heat-pump-water-heaters-with-solar-fr...
302•thelastgallon•1d ago•254 comments

Customizing my Compaq MX-11800 keyboard

https://blog.webb.page/WM-102
25•NetOpWibby•3d ago•4 comments

What Comes After Git

https://ersc.io/blog/what-comes-after-git
26•tangled•4h ago•5 comments

JEP 544: Ahead-of-Time Code Compilation

https://openjdk.org/jeps/544
90•Skinney•14h ago•32 comments