frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Java FFM zero-copy transport using io_uring

https://www.mvp.express/
50•mands•6d ago

Comments

jeffreygoesto•5d ago
27us roundtrip is not really state of the art for zero copy IPC, about 1us would be. What is causing this overhead?
rohanray•4d ago
It's not a local IPC exactly. The roundtrip benchmark stat is for a TCP server-client ping/pong call using a 2 KB payload; TCP is although on local loopback (127.0.0.1).

Source: https://github.com/mvp-express/myra-transport/blob/main/benc...

jstimpfle•2h ago
Asking for those who, like me, haven't yet taken the time to find technical information on that webpage:

What exactly does that roundtrip latency number measure (especially your 1us)? Does zero copy imply mapping pages between processes? Is there an async kernel component involved (like I would infer from "io_uring") or just two user space processes mapping pages?

znpy•2h ago
It may or may not be good, depending on a number of fact.

I did read the original linux zerocopy papers from google for example, and at the time (when using tcp) the juice was worth the squeeze when payload was larger than than 10 kilobytes (or 20? Don’t remember right now and i’m on mobile).

Also a common technique is batching, so you amortise the round-trip time (this used to be the cost of sendmmsg/recvmmsg) over, say, 10 payloads.

So yeah that number alone can mean a lot or it can mean very little.

In my experience people that are doing low latency stuff already built their own thing around msg_zerocopy, io_uring and stuff :)

blibble•1h ago
indeed, you can get a packet from one box to another in 1-2us
rohanray•1h ago
It's not a local IPC exactly. The roundtrip benchmark stat is for a TCP server-client ping/pong call using a 2 KB payload; TCP is although on local loopback (127.0.0.1).

The payload is encoded using myra-codec FFM MemorySegment directly into a pre-registered buffer in io_uring SQE on the server. Similarly, on the client side CQE writes encoded payload directly into a client provided MemorySegment. The whole process saves a few SYSCALLs. Also, the above process is zero copy.

Source: https://github.com/mvp-express/myra-transport/blob/main/benc...

P.S.: I had posted this as a reply to jeffrey but not able to see it. Hence, reposting as a direct reply to the main post for visibility as well.

Disclaimer: I am the author of https://mvp.express. I would love feedback, critical suggestions/advise.

Thanks -RR

nateb2022•16m ago
This looks like most of it was vibecoded.

Unnecessary comments like:

  clientChannel.configureBlocking(false); // Non-blocking client
can be found throughout the source, and the project's landing page is a good example of typical SOTA models' outputs when asked for a frontend landing page.
TheGuyWhoCodes•5m ago
In my opinion adding kryo in the benchmark is somewhat disingenuous as it does not require a message schema definition while MyraCodec/SBE/FlatBuffers do.

The only thing that says is schemeless and is zero copy is Apache Fory which is missing from the benchmark.

LG TV's new software update installed MS Copilot, which cannot be deleted

https://old.reddit.com/r/mildlyinfuriating/comments/1plldqo/my_lg_tvs_new_software_update_install...
87•bj-rn•55m ago•38 comments

We built another object storage

https://fractalbits.com/blog/why-we-built-another-object-storage/
105•fractalbits•4h ago•26 comments

Show HN: Kinkora – A creative playground for experimenting with video models

https://kinkora.fun/
5•heavenlxj•12m ago•1 comments

Java FFM zero-copy transport using io_uring

https://www.mvp.express/
51•mands•6d ago•9 comments

macOS 26.2 enables fast AI clusters with RDMA over Thunderbolt

https://developer.apple.com/documentation/macos-release-notes/macos-26_2-release-notes#RDMA-over-...
480•guiand•19h ago•242 comments

Sick of smart TVs? Here are your best options

https://arstechnica.com/gadgets/2025/12/the-ars-technica-guide-to-dumb-tvs/
492•fleahunter•1d ago•395 comments

Photographer built a medium-format rangefinder, and so can you

https://petapixel.com/2025/12/06/this-photographer-built-an-awesome-medium-format-rangefinder-and...
101•shinryuu•6d ago•20 comments

Apple has locked my Apple ID, and I have no recourse. A plea for help

https://hey.paris/posts/appleid/
1071•parisidau•11h ago•612 comments

A 'toaster with a lens': The story behind the first handheld digital camera

https://www.bbc.com/future/article/20251205-how-the-handheld-digital-camera-was-born
51•selvan•5d ago•23 comments

GNU Unifont

https://unifoundry.com/unifont/index.html
292•remywang•19h ago•69 comments

AI is bringing old nuclear plants out of retirement

https://www.wbur.org/hereandnow/2025/12/09/nuclear-power-ai
43•geox•3h ago•57 comments

Will West Coast Jazz Get Some Respect?

https://www.honest-broker.com/p/will-west-coast-jazz-finally-get
23•paulpauper•6d ago•7 comments

Computer Animator and Amiga fanatic Dick Van Dyke turns 100

154•ggm•8h ago•33 comments

Rats Play DOOM

https://ratsplaydoom.com/
349•ano-ther•20h ago•127 comments

Show HN: Tiny VM sandbox in C with apps in Rust, C and Zig

https://github.com/ringtailsoftware/uvm32
172•trj•18h ago•12 comments

OpenAI are quietly adopting skills, now available in ChatGPT and Codex CLI

https://simonwillison.net/2025/Dec/12/openai-skills/
489•simonw•17h ago•290 comments

Beautiful Abelian Sandpiles

https://eavan.blog/posts/beautiful-sandpiles.html
100•eavan0•3d ago•17 comments

How exchanges turn order books into distributed logs

https://quant.engineering/exchange-order-book-distributed-logs.html
72•rundef•5d ago•41 comments

Obscuring P2P Nodes with Dandelion

https://www.johndcook.com/blog/2025/12/08/dandelion/
64•ColinWright•5d ago•4 comments

Formula One Handovers and Handovers From Surgery to Intensive Care (2008) [pdf]

https://gwern.net/doc/technology/2008-sower.pdf
89•bookofjoe•6d ago•33 comments

Cryptids

https://wiki.bbchallenge.org/wiki/Cryptids
11•frozenseven•1w ago•0 comments

Show HN: I made a spreadsheet where formulas also update backwards

https://victorpoughon.github.io/bidicalc/
187•fouronnes3•1d ago•90 comments

Poor Johnny still won't encrypt

https://bfswa.substack.com/p/poor-johnny-still-wont-encrypt
61•zdw•12h ago•73 comments

Slax: Live Pocket Linux

https://www.slax.org/
54•Ulf950•5d ago•7 comments

Freeing a Xiaomi humidifier from the cloud

https://0l.de/blog/2025/11/xiaomi-humidifier/
129•stv0g•1d ago•58 comments

YouTube's CEO limits his kids' social media use – other tech bosses do the same

https://www.cnbc.com/2025/12/13/youtubes-ceo-is-latest-tech-boss-limiting-his-kids-social-media-u...
134•pseudolus•4h ago•115 comments

Go is portable, until it isn't

https://simpleobservability.com/blog/go-portable-until-isnt
124•khazit•6d ago•108 comments

Ensuring a National Policy Framework for Artificial Intelligence

https://www.whitehouse.gov/presidential-actions/2025/12/eliminating-state-law-obstruction-of-nati...
172•andsoitis•1d ago•230 comments

50 years of proof assistants

https://lawrencecpaulson.github.io//2025/12/05/History_of_Proof_Assistants.html
113•baruchel•17h ago•19 comments

Multiple Indicted on Charges of Theft and Re-Sale of Restaurant Cooking Oil

https://www.justice.gov/usao-sdia/pr/multiple-chinese-nationals-indicted-charges-related-theft-an...
6•737min•22m ago•1 comments