stun
aquatic
stun | aquatic | |
---|---|---|
3 | 16 | |
567 | 453 | |
3.2% | - | |
6.8 | 9.5 | |
24 days ago | 7 days ago | |
Go | Rust | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
stun
- NAT behaviour discovery using STUN
-
WebTorrent
This isn't true.
In 2017 appear.in published some numbers. They saw ~15% were not able to do P2P. https://medium.com/@fippo/what-kind-of-turn-server-is-being-...
Reading your stackoverflow link my guess is that you aren't using STUN. A P2P connection can't be established without a NAT hole punch.
Also if possible I would avoid the terms `Full-cone NAT` and `Symmetric NAT` they don't do a good job of describing what is actually happening. NAT Mapping/NAT Filtering is the best way to describe it. I wrote a little bit about it here [0]. To see what type of NAT you have try stun-nat-behaviour[1]
[0] https://webrtcforthecurious.com/docs/03-connecting/#nat-mapp...
[1] https://github.com/pion/stun/tree/master/cmd/stun-nat-behavi...
-
How to make communicating two machines which are behind their respective NATs with wireguard
If you test your NAT on the destination via a tool like https://github.com/pion/stun/tree/master/cmd/stun-nat-behaviour, what does it report for mapping and filtering?
aquatic
-
Bitmagnet Allows People to Run Their Own Decentralized Torrent Indexer Locally
How does Bitmagnet compare to Aquatic? https://github.com/greatest-ape/aquatic
-
Hey Rustaceans! Got a question? Ask here (22/2023)!
I have a question on UnsafeCell usage that popped up while implementing io_uring support for aquatic_udp. I find the docs slightly confusing (in particular the part that I've marked in bold):
-
aquatic_udp (UDP BitTorrent tracker) performance improvements: up to 2.25 million responses per second
I've done a new round of benchmarking of open UDP BitTorrent tracker implementations. Results were great for aquatic_udp, achieving double the throughput of opentracker when running on 8 CPU cores:
-
WebTorrent
If you run your tracker on Linux and an info hash whitelist approach would work for your use case, it might be worthwhile having a look at aquatic_ws [0]. It relies on tungstenite [1] for websockets and achieves around 20x the throughput of the reference implementation when running with four threads.
[0] https://github.com/greatest-ape/aquatic
- Aquatic: High-performance open BitTorrent tracker
-
Official /r/rust "Who's Hiring" thread for job-seekers and job-offerers [Rust 1.60]
aquatic, a multithreaded BitTorrent tracker with world-leading performance
-
aquatic_ws (WebTorrent tracker) rewritten with glommio, achieves up to 1.6 million responses a second in load tests
But aquatic_udp doesn't use glommio.. https://github.com/greatest-ape/aquatic/pull/29
- aquatic: extremely performant BitTorrent tracker software (UDP, HTTP, WebTorrent) achieving up to 1.6 million responses per second
-
aquatic: extremely performant open BitTorrent tracker software (UDP, HTTP, WebTorrent)
aquatic is a Apache 2.0-licensed BitTorrent tracker written in Rust that I have developed over the last couple of years. It focuses on correctness, stability and high performance.
-
Torrust, a lightweight but incredibly powerful and feature-rich (private) BitTorrent Tracker + Torrent Index written in Rust.
The udp request parsing code seems to have been copied from aquatic. Please note that the Apache 2.0 license requires attribution.
What are some alternatives?
webrtc-echoes - Simple useful interoperability tests for WebRTC libraries. If you are a WebRTC library developer we'd love to include you!
openwebtorrent-tracker - Fast and simple Webtorrent tracker implementation in C++
buffer - The buffer module from node.js, for the browser.
wt-tracker - High-performance WebTorrent tracker
simple-peer - 📡 Simple WebRTC video, voice, and data channels
webtorrent - ⚡️ Streaming torrent client for the web
werift-webrtc - WebRTC Implementation for TypeScript (Node.js), includes ICE/DTLS/SCTP/RTP/SRTP/WEBM/MP4
OctaSine - Frequency modulation synthesizer plugin (VST2, CLAP). Runs on macOS, Windows and Linux.
trystero - 🤝 Build instant multiplayer webapps, no server required — Magic WebRTC matchmaking over BitTorrent, Nostr, MQTT, IPFS, and Firebase
glommio - Glommio is a thread-per-core crate that makes writing highly parallel asynchronous applications in a thread-per-core architecture easier for rustaceans.
webtorrent-desktop - ❤️ Streaming torrent app for Mac, Windows, and Linux
bittorrent-tracker - 🌊 Simple, robust, BitTorrent tracker (client & server) implementation