TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Linux implementation of Homa, a protocol to replace TCP for low-latency RPC

118 pointsby mlernerover 3 years ago

11 comments

lmilcinover 3 years ago
Couple of years ago I had this idea that most REST calls I had in my app could easily fit a single packet if encoded in binary.<p>I rolled my own framework for fun that did REST-style communication but sans TCP, HTTP and JSON.<p>This improved latency and efficiency by couple orders of magnitude. I would like something that did this that I could use directly without having to write my own framework.
评论 #28443389 未加载
评论 #28447708 未加载
评论 #28443171 未加载
Animatsover 3 years ago
This is about the fourth time something like this has been built.<p>QNX native networking over IP (protocol 106) is probably the closest to Homa. It&#x27;s an RPC system, intended primarily for local networks, although it will extend across the Internet. Message based. No head of line blocking between different RPC calls. It&#x27;s still used in Blackberry&#x2F;QNX.<p>Is there a spec for Homa? Did they get a new protocol number from IANA? [1] This needs an RFC before it gets out into the wild.<p>[1] <a href="https:&#x2F;&#x2F;www.iana.org&#x2F;assignments&#x2F;protocol-numbers&#x2F;protocol-numbers.xhtml" rel="nofollow">https:&#x2F;&#x2F;www.iana.org&#x2F;assignments&#x2F;protocol-numbers&#x2F;protocol-n...</a>
topspinover 3 years ago
One of either QUIC or RDMA already deliver this, depending on your definition of low-latency.
评论 #28441931 未加载
评论 #28441906 未加载
teleforceover 3 years ago
Not directly related to Homa, but I&#x27;d like to point that the paper&#x27;s author and presenter is none other than TCL programming language original designer John Ousterhout [1].<p>[1]<a href="https:&#x2F;&#x2F;web.stanford.edu&#x2F;~ouster&#x2F;cgi-bin&#x2F;home.php" rel="nofollow">https:&#x2F;&#x2F;web.stanford.edu&#x2F;~ouster&#x2F;cgi-bin&#x2F;home.php</a>
评论 #28450602 未加载
dragontamerover 3 years ago
I feel like Homa&#x27;s competiton isn&#x27;t TCP, but instead is SCTP.<p>I know that SCTP isn&#x27;t very popular, but it is an old standard and solves the ahead-of-line blocking issue. Linux does support SCTP, and maybe more expensive routers support it as well (honestly, I haven&#x27;t experimented much with SCTP on networks...).<p>SCTP is built on top of IP. So the main issue with SCTP is firewall &#x2F; NAT &#x2F; etc. etc. which are built on top of TCP &#x2F; UDP instead. Homa, being an alternative protocol, would be very similar to SCTP (in that routers wouldn&#x27;t work on it), except its decades younger.
评论 #28456028 未加载
MisterTeaover 3 years ago
This heavily reminds me of Plan 9&#x27;s IL[1] which was used to increase the performance of the 9p protocol, a file based RPC protocol, over local networks.<p>[1] <a href="http:&#x2F;&#x2F;doc.cat-v.org&#x2F;plan_9&#x2F;4th_edition&#x2F;papers&#x2F;il&#x2F;" rel="nofollow">http:&#x2F;&#x2F;doc.cat-v.org&#x2F;plan_9&#x2F;4th_edition&#x2F;papers&#x2F;il&#x2F;</a>
rixraxover 3 years ago
It would be really nice if articles about protocols, even if talking about implementation details, would include or link to a representative traffic sample &#x2F; .pcap of said protocol.
skydeover 3 years ago
how does this compare to QUIC transport protocol? They both let you avoid head of line blocking.
estover 3 years ago
Does any distro actually ship this protocol or it&#x27;s just an optional kernel module?
评论 #28441609 未加载
nextaccounticover 3 years ago
Can this be tunneled inside UDP?
评论 #28447909 未加载
GauntletWizardover 3 years ago
Nowhere in this site is encryption mentioned, and that probably makes it a non-starter - Cryptographic data integrity is a must for modern RPC, if not also confidentiality.
评论 #28441305 未加载