28 repos
Low-level networking abstractions for optimizing data transmission and memory management.
Distinguishing note: Focuses on the transport-level optimization and memory management rather than high-level application protocols.
Explore 28 awesome GitHub repositories matching networking & communication · Transport Layers. Refine with filters or upvote what's useful.
Xray-core is a high-performance, cross-platform networking engine designed to manage secure data transmission and traffic routing. At its core, the project utilizes an asynchronous, event-driven runtime model capable of handling thousands of concurrent connections through non-blocking input and output. It functions as a central traffic controller, employing a sophisticated routing engine that dynamically matches incoming network requests to specific outbound proxies based on user-defined criteria. The project distinguishes itself through a modular architecture that decouples proxy and transpo
Configures transport layer mechanisms to ensure reliable packet delivery and connection stability.
This project is a Node.js WebSocket library that provides a high-performance client and server implementation for the WebSocket protocol. It functions as a transport layer for real-time bidirectional communication, supporting both UTF-8 strings and binary data transport through the use of TCP socket wrappers. The library enables the creation of WebSocket servers that manage full-duplex connections and broadcast messages to multiple clients, as well as WebSocket clients that establish persistent links to remote servers. It handles the protocol upgrade process via TCP-based handshake negotiatio
Serves as a transport layer supporting both UTF-8 strings and binary buffers for real-time data exchange.
KCP is a low-latency transport protocol and reliability layer designed to provide TCP-like guaranteed delivery and ordering over UDP. It implements an automatic repeat request protocol to minimize network jitter and delays, prioritizing timeliness over bandwidth efficiency. The project distinguishes itself through a pluggable congestion controller and flow control logic, allowing the transport layer to be tuned for specific network environments. It includes a NAT keep-alive system that uses periodic heartbeat packets to maintain active communication paths and prevent address translation timeo
Implements a custom reliable transport protocol over UDP designed for low-latency and guaranteed delivery.
MHDDoS is a command-line utility designed for volumetric stress testing and infrastructure resilience assessment. It functions as a comprehensive framework for simulating high-volume network and application layer traffic to evaluate the capacity and stability of web services and network infrastructure. The tool distinguishes itself through its ability to generate complex, protocol-specific traffic patterns and raw packet structures. By employing dynamic header randomization and specialized payload injection, it simulates diverse request behaviors intended to test the effectiveness of security
Overwhelms target infrastructure by sending high volumes of protocol-specific traffic and connection requests.
Quarkus is a Kubernetes-native Java framework designed for building high-performance, memory-efficient applications. It utilizes ahead-of-time native compilation to transform Java code into standalone, optimized binaries that eliminate the need for a virtual machine, enabling rapid startup and reduced memory consumption. By performing code augmentation during the build phase, it shifts heavy processing tasks away from runtime, ensuring that applications are optimized for cloud-native environments. The framework distinguishes itself through a unified approach to reactive and imperative program
Provides low-level networking abstractions for optimizing data transmission and memory management in high-traffic environments.
OpenSpeedy is a network acceleration utility designed to optimize data transmission between applications and remote servers. It functions as a congestion control middleware and traffic processing engine, operating within the kernel space to minimize latency and reduce CPU overhead during packet delivery. The project distinguishes itself through its ability to aggregate multiple network interfaces into a single logical stream, enhancing bandwidth and link reliability. It employs custom transport protocols that bypass head-of-line blocking and utilizes forward error correction to reconstruct lo
Provides custom congestion control and error correction to maintain stable data transmission over unreliable networks.
This project is a high-performance implementation of the QUIC transport protocol, providing a library for establishing multiplexed, low-latency network connections over UDP. It serves as a foundational networking stack for building modern web servers and clients, with native support for HTTP/3 and WebTransport standards. The library distinguishes itself through advanced connection management, including the ability to maintain stable sessions across changing network paths or IP addresses using connection identifiers. It optimizes data throughput by employing packet batching to reduce kernel ov
Implements a custom reliable transport protocol over standard UDP to provide multiplexed streams and low-latency data delivery.
SmarterStreaming is a cross-platform SDK for hardware-accelerated audio and video capture, encoding, and streaming. It provides a complete media pipeline for low-latency RTMP and RTSP streaming, and includes an embedded lightweight RTSP server that can serve live feeds directly from the source device to local network clients without requiring a separate server. The SDK also integrates with GB28181 surveillance platforms, enabling compliant device registration and streaming for standardized video monitoring systems. The project distinguishes itself through a set of integrated capabilities for
Sets streaming transport to TCP or UDP mode, or enables automatic switching for reliable streaming.
GameNetworkingSockets is a UDP networking library providing secure transport, peer discovery, and traffic control systems. It implements a networking layer for reliable and unreliable messaging over UDP, including tools for message fragmentation and reassembly. The project features a peer-to-peer NAT traversal tool for establishing direct host-to-host connections by punching through firewalls and network address translation layers. It secures network traffic through encrypted transport and secure key exchange. The library includes a traffic manager to organize data into prioritized lanes to
Implements a custom reliable transport protocol over UDP using sequence numbers and acknowledgments.
Aeron provides infrastructure components for high-speed inter-process and network communication, archiving message streams, and coordinating replicated services. It functions as a system for moving data between remote applications or local processes with low latency and high throughput. The project distinguishes itself through a combination of shared memory for ultra-low latency inter-process communication and a reliable UDP messaging transport that supports both unicast and multicast. It further includes a consensus-based service orchestrator to maintain consistency across replicated state m
Implements a custom reliable transport protocol over UDP for low-latency, ordered data delivery.
pysheeet is a technical reference library providing a curated collection of code snippets and implementation patterns for advanced Python development, system integration, and high-performance computing. It serves as a comprehensive guide for implementing low-level network programming, native C extensions, and asynchronous and concurrent programming. The project provides specialized frameworks for the development and deployment of large language models, including tools for distributed GPU inference and high-performance serving. It also includes detailed patterns for high-performance computing
Implements UDP multicast broadcasting to send a single data packet to multiple group members.
libhv is a high-performance C/C++ network library and event-driven I/O framework used to build TCP, UDP, SSL, HTTP, WebSocket, and MQTT clients and servers. It provides a non-blocking event loop for managing network sockets, timers, and system signals across multiple threads. The project is distinguished by its integrated support for specialized network roles, including a full HTTP web server with RESTful routing and middleware, an MQTT messaging client for IoT communication, and the ability to implement SOCKS5 and HTTP proxies. It also features a reliable UDP implementation to ensure ordered
Provides a reliable transport layer over UDP with congestion control and acknowledgement to ensure ordered delivery.
Serf is a decentralized cluster coordination tool that manages node membership, failure detection, and event broadcasting across a distributed system without a central coordinator. Every node runs an identical agent process that independently handles membership, health monitoring, and event propagation through a peer-to-peer gossip protocol, creating a leaderless architecture where no single point of failure exists. The project implements the SWIM failure detection algorithm, where each node monitors a small random subset of peers to detect unreachable or failed nodes in real time. Custom use
Uses lightweight unreliable UDP datagrams to carry gossip and failure detection messages with minimal latency.
This project is a full-featured BitTorrent client library and protocol implementation. It provides the core components necessary for peer-to-peer file sharing, including a networking stack that supports the BitTorrent specification, tracker communication, and swarm management. A primary differentiator is the inclusion of a virtual filesystem that allows torrents to be mounted as read-only drives. This system enables on-demand content streaming, where specific data pieces are fetched from the network only when a read request occurs, rather than requiring the entire archive to be downloaded fir
Implements a custom reliable transport protocol over UDP to optimize peer-to-peer connectivity.
Broadcasts real-time market data over UDP multicast to eliminate data duplication and enable zero-copy delivery to multiple consumers.
Quinn is an implementation of the QUIC protocol in Rust. It provides the capabilities necessary to establish secure network connections and manage both reliable data streams and unreliable datagram transmissions. The project features a deterministic protocol state machine that decouples event processing from network I/O operations. It employs a stream-multiplexing engine to handle multiple independent bidirectional and unidirectional data streams over a single shared UDP-based connection. Security is handled through a TLS-integrated handshake and a pluggable cryptographic identity system, wh
Encapsulates QUIC frames within UDP packets to provide a low-latency transport delivery mechanism.
This project is a collection of single-header libraries providing a zero-dependency implementation of core game engine systems. It serves as a portable toolkit for 2D game development, focusing on asset loading, graphics optimization, and low-level system coordination. The libraries offer specialized capabilities for 2D sprite rendering and asset processing, including texture atlas compilation and batch-based rendering to reduce draw calls. It includes a dedicated pipeline for parsing Aseprite files and JSON-formatted map data from Tiled. The toolkit covers several functional domains, includ
Implements a custom acknowledgement system over UDP to ensure reliable delivery of critical game data.
Apache Dubbo Go is a Go language implementation of the Apache Dubbo framework designed for building high-performance microservices. It serves as a cross-language RPC framework and microservices communication layer that enables remote procedure calls between services written in different programming languages. The framework functions as a service governance toolset and a distributed service mesh proxy, allowing data planes to connect with external control planes in proxy or proxyless modes. It specifically provides a compatibility layer to facilitate communication between Go and Java-based ser
Allows toggling between different communication protocols on a single port using simple configuration settings.
Firefly-proxy is a censorship circumvention proxy and network traffic obfuscator designed to bypass national firewalls and regional internet blocks. It functions as a SOCKS5 proxy server that routes traffic through obfuscated tunnels to provide secure web access. The project implements transport-layer obfuscation and TCP-stream encryption to mask network traffic patterns and evade detection by deep packet inspection systems. It utilizes remote peer tunneling to establish encrypted connections between local clients and foreign servers. The system supports general network traffic proxying via
Modifies packet signatures and timing to make proxy traffic appear as standard HTTPS or random noise.
MsQuic is a cross-platform, C-based implementation of the QUIC protocol. It provides a network library for establishing encrypted and authenticated transport links over UDP, integrating TLS to ensure all data flows between endpoints are encrypted. The implementation utilizes a language-agnostic binding layer to support high-level languages including C#, Rust, and C++. It features connection-ID based migration to maintain active sessions when IP addresses or ports change, and employs multi-stream multiplexing to manage independent data flows within a single connection. The library covers netw
Implements the QUIC protocol as a custom reliable transport layer over UDP for low-latency data delivery.