Pi

Pion SCTP with RACK is 70% faster with 30% less latency

Hacker News

Pion SCTP with RACK is 70% faster with 30% less latency

SCTP is a low level protocol focused on reliable packet transmission. Unlike hopelessly flinging packets from one device to another, it makes sure that the packets are correct using CRC, removes duplicate packets, and allows for packets to be sent in any order. 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 Jo Turk https://github.com/joturk ). 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!

Share card

Actual performance

62points
5comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Hacker NewsStrong engagement from HN community · Strong signals: exist, existing, ide · Missing: https docs, excited, just released
85%85% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Indie HackersFits the IH revenue-focused audience · Strong signals: started, including · Missing: supports, reddit linkedin, podcasting
79%79% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Product HuntOn track for Day 1 leaderboard · Strong signals: user, tasks, using · Missing: mac, agents, macos
75%75% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
TrustMRRFits verified-revenue profile · Strong signals: personal, users · Missing: mobile apps, ios, entrepreneurs
54%54% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: platform, users · Missing: plus, intuitive, reviews
38%38% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: active · Missing: arr, mrr, revenue
10%10% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Strong signals: introduce · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Wh
Where's the latency in my API?77%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Where's the latency in my API?

Hacker News3
Ro
Roq – C++ HFT on Crypto Exchanges with μs Latency61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Roq – C++ HFT on Crypto Exchanges with μs Latency

Hacker News11
La
Latency as a Service70%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Latency as a Service

Hacker News2
Ch
Check Your Latency72%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Check Your Latency

Hacker News2
Be
Bench – A generic latency benchmarking library63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Bench – A generic latency benchmarking library

Hacker News37
Vi
Visualize latency between your Consul nodes71%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Visualize latency between your Consul nodes

Hacker News3
Pi
Pipy 0.30.066%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Pipy 0.30.0

Hacker News7
Netlora
Netlora23%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Free internet diagnostic for bufferbloat and loaded latency

Indie Hackers1b2c
La
Latency Between AWS Regions65%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Latency Between AWS Regions

Hacker News5
Ze
Zero latency networked snake game61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Zero latency networked snake game

Hacker News2