Show HN: Pion SCTP with RACK is 70% faster with 30% less latency
Hacker News (score: 32)Description
Going into an established library, I thought that everything was already implemented and that there wasn't anything to do until I went through the existing issues and organized all the tasks and decided on an order. Sean DuBois (https://github.com/Sean-Der), one of the co-creators and current maintainers of Pion, an open-source pure Go implementation of WebRTC (which uses SCTP), introduced me to a dissertation that was written about improving SCTP from 2021 (https://duepublico2.uni-due.de/servlets/MCRFileNodeServlet/d...). To my surprise, the features in it weren't actually implemented yet, and generally went unused even though it depicted pretty big improvements. This came as a bit of a shock to me considering the countless companies and services that actively use Pion with millions of users on a daily basis.
This led to two things: 1) implement the feature (done by me) and 2) measure the performance (done by Joe Turki https://github.com/JoeTurki). If you're interested in reading more, please check out the blog post where we go over what SCTP is used for, how I improved it, and the effort that went into making such a large improvement possible.
This also marks a huge milestone for other companies and services that use SCTP as they can refer to the implementation in Pion for their own SCTP libraries including any real-time streaming platforms such as Microsoft Teams, Discord screen share, Twitch guest star, and many more!
For my personal background, please take a look at a comment below about what it was like for me to get started with open-source and my career related journeys. Thanks for reading!
More from Hacker
Show HN: 30k IKEA items in flat text
Show HN: 30k IKEA items in flat text OP here.<p>I took the unofficial IKEA US dataset (originally scraped by jeffreyszhou) and converted all 30,511 products into a flat, markdown-like protocol called CommerceTXT.<p>The goal: See if a flatter structure is more efficient for LLM context windows.<p>The results: - Size: 30k products across 632 categories. - Efficiency: The text version uses ~24% fewer tokens (3.6M saved total) compared to the equivalent minified JSON. - Structure: Files are organized in folders (e.g. /products/category/), which helps with testing hierarchical retrieval routers.<p>The link goes to the dataset on Hugging Face which has the full benchmarks.<p>Parser code is here: <a href="https://github.com/commercetxt/commercetxt" rel="nofollow">https://github.com/commercetxt/commercetxt</a><p>Happy to answer questions about the conversion logic!
Show HN: Stash – Sync Markdown Files with Apple Notes via CLI
Show HN: Stash – Sync Markdown Files with Apple Notes via CLI
Stacked Diffs with git rebase —onto
Stacked Diffs with git rebase —onto
Production-Grade Container Deployment with Podman Quadlets – Larvitz Blog
Production-Grade Container Deployment with Podman Quadlets – Larvitz Blog
No other tools from this source yet.