{"id":20975839,"url":"https://github.com/banyc/rtp","last_synced_at":"2025-05-14T14:31:03.408Z","repository":{"id":234647822,"uuid":"788418956","full_name":"Banyc/rtp","owner":"Banyc","description":"A userspace reliable transmission protocol; send rate governed only by delivery rate and data loss; good enough comparing to TCP performance.","archived":false,"fork":false,"pushed_at":"2025-05-09T12:53:37.000Z","size":265,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-09T14:01:24.442Z","etag":null,"topics":["delivery-rates","fin","in-production","reliable","reliable-protocol","reliable-udp","reset","sack","throughput","tokio","udp","userspace"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Banyc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-04-18T11:34:01.000Z","updated_at":"2025-05-09T12:53:41.000Z","dependencies_parsed_at":"2024-05-12T04:25:46.689Z","dependency_job_id":"b3e96b14-7fd8-4734-a370-b43400ab4c0c","html_url":"https://github.com/Banyc/rtp","commit_stats":null,"previous_names":["banyc/transport_protocol"],"tags_count":68,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Banyc%2Frtp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Banyc%2Frtp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Banyc%2Frtp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Banyc%2Frtp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Banyc","download_url":"https://codeload.github.com/Banyc/rtp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254160646,"owners_count":22024574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["delivery-rates","fin","in-production","reliable","reliable-protocol","reliable-udp","reset","sack","throughput","tokio","udp","userspace"],"created_at":"2024-11-19T04:47:46.775Z","updated_at":"2025-05-14T14:31:03.403Z","avatar_url":"https://github.com/Banyc.png","language":"Rust","readme":"# `rtp`\n\nA userspace reliable transmission protocol whose congestion window is governed only by the delivery rate (i.e., bandwidth/throughput) and the data loss rate.\n\n## Features\n\n- an async-free reliable layer\n  - a piece of pure algorithm\n  - main entry: [[src/reliable_layer.rs]]\n  - send window: [[src/pkt_send_space.rs]]\n  - recv window: [[src/pkt_recv_space.rs]]\n  - send rate limiter: [[src/token_bucket.rs]]\n  - SACK managing: [[src/sack.rs]]\n- a dead simple codec for packet encoding/decoding\n  - main entry: [[src/codec.rs]]\n  - wireshark dissector: [[wireshark/rtp.dissector.lua]]\n- an async-based I/O-agnostic transmission layer\n  - gluing the unreliable layer and the reliable layer together\n  - main entry: [[transmission_layer.rs]]\n- a user-facing I/O-agnostic socket wrapper\n  - managing opening, closing, timer, async read/write for the transmission layer\n  - perk: You are allowed to wait until or check if the send buf is empty!\n  - main entry: [[src/socket.rs]]\n- a user-facing over-UDP implementation\n  - exposing listening, accepting, and connecting APIs\n  - main entry: [[src/udp.rs]]\n- a user-facing keyed-streams over-single-UDP-connection implementation\n  - exposing listening, accepting, and connecting APIs\n  - main entry: [[src/keyed_udp.rs]]\n\n## How to use\n\n- as a high-level socket user: Refer to [[examples]] directory and the test sections in [[src/udp.rs]] and [[src/keyed_udp.rs]].\n- as a low-level reliable layer user: Refer to the test sections in [[src/socket.rs]].\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbanyc%2Frtp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbanyc%2Frtp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbanyc%2Frtp/lists"}