9 Repos
Memory management techniques that avoid data duplication by passing references to network payloads.
Distinguishing note: Focuses on memory efficiency in network data handling.
Explore 9 awesome GitHub repositories matching web development · Zero-Copy Buffers. Refine with filters or upvote what's useful.
Actix Web is an asynchronous web framework designed for building high-performance network services. It provides a foundation for processing concurrent requests through a non-blocking execution model, utilizing an actor-based concurrency system to manage lightweight processes and message passing. The framework includes a low-level networking layer that handles the parsing and serialization of HTTP traffic according to standard specifications. The framework distinguishes itself through a type-safe routing engine that enforces strict data types at compile time, ensuring that request parameters a
Minimizes memory overhead by passing references to network data buffers instead of duplicating payloads.
uWebSockets is a C++ networking framework that serves as a high-performance WebSocket server library, HTTP web server, and pub-sub messaging system. It provides the infrastructure necessary to handle standard web requests and maintain low-latency, bidirectional connections between clients and servers. The framework is distinguished by its use of template meta-programming for compile-time optimization and zero-copy buffer management to minimize memory latency. It utilizes a backend-agnostic event loop and static route resolution to process network traffic with minimal runtime overhead. The pr
Uses zero-copy buffer management to reduce CPU usage and memory latency during network data handling.
brpc is a high-performance C++ RPC framework and network programming library designed for building distributed systems. It functions as a multi-protocol RPC server capable of hosting and detecting multiple communication protocols, including gRPC, Thrift, HTTP, Redis, and Memcached, on a single TCP port. The project distinguishes itself through high-throughput data transport and memory efficiency, utilizing RDMA-based transport to bypass the kernel TCP stack and zero-copy memory management to eliminate data duplication. It also implements the Raft algorithm for consensus-based state replicatio
Eliminates data duplication by reading and writing directly from registered memory buffers.
Phalcon is a full-stack PHP web framework implemented as a compiled C extension that loads directly into the PHP interpreter. Rather than executing PHP scripts at runtime, the framework runs as a native C module, bundling routing, ORM, templating, and caching into immutable structures compiled at build time. This architecture hooks directly into PHP's internal Zend Engine API to bypass userland function call overhead, processes HTTP requests through a C-level event pipeline, and passes data between layers using pointer references instead of duplicating memory buffers. The framework manages ob
Passes HTTP request data between framework layers using pointer references instead of duplicating memory buffers.
uWebSockets.js is a high-performance tool for building WebSocket and HTTP servers within Node.js. It focuses on high-throughput web servers and real-time data streaming, enabling the creation of network applications that handle a large number of concurrent connections with low memory and CPU overhead. The project distinguishes itself through a native C++ implementation that integrates directly with the Node.js event loop. It utilizes native-layer route matching and a shared memory architecture to minimize allocation overhead and avoid data duplication during message transmission. The impleme
Shares memory regions between C++ and JavaScript to avoid data duplication during message transmission.
http-parser ist eine C-Bibliothek für Zero-Copy-HTTP-Parsing, URL-Dekonstruktion sowie die Verwaltung von Protokoll-Upgrades und Chunked-Encoding. Sie bietet Utilities zum Extrahieren von Headern, Methoden und Statuscodes aus HTTP-Anfragen und -Antworten. Das Projekt enthält einen Zero-Copy-URL-Parser zur Zerlegung von Strings in einzelne Komponenten sowie einen Mechanismus zur Erkennung von Protokoll-Switch-Anfragen, um den genauen Byte-Offset zu identifizieren, an dem Nicht-HTTP-Daten beginnen. Zudem verfügt es über einen Decoder für die Verarbeitung von Chunked-Transfer-Encoded-Datenströmen.
Implements a zero-copy approach to extract header fields, status codes, and methods from HTTP requests and responses.
GNU Radio is an open-source software-defined radio framework that provides a digital signal processing toolkit for building wireless communication systems. At its core, it uses a block-based flow graph architecture where pre-built signal processing blocks are connected into directed graphs to define and execute custom radio signal processing pipelines. The system operates as a flow graph signal processor that enables low-latency streaming radio signal processing, supporting both real-time operation and wireless communication simulation entirely in software. The framework distinguishes itself
Passes continuous streams of samples between blocks using zero-copy buffer management for low-latency processing.
Beast ist eine C++-Bibliothek zur Implementierung von Low-Level-HTTP- und WebSocket-Clients sowie -Servern. Es fungiert als asynchrones Networking-Framework, das darauf ausgelegt ist, nicht-blockierende I/O-Operationen und geschichtete Stream-Stacks zur Verwaltung von gleichzeitigem Netzwerkverkehr zu kombinieren, wobei speziell das asynchrone Modell von Boost.Asio genutzt wird. Die Bibliothek bietet eine umfassende Implementierung der HTTP/1.1- und WebSocket-Protokolle. Für HTTP enthält sie Primitive zum Parsen und Serialisieren von Nachrichten mit Unterstützung für Chunked-Transfer-Encoding, inkrementelles Body-Lesen und Request-Pipelining. Die WebSocket-Implementierung deckt den gesamten Lebenszyklus der bidirektionalen Kommunikation ab, einschließlich Handshakes, Subprotokoll-Aushandlung, Nachrichtenfragmentierung und Liveness-Monitoring via Control-Frames. Beast enthält eine spezialisierte Suite von Tools für das Netzwerk-Buffer-Management, um Scatter-Gather-I/O durch dynamische und sequenzbasierte Speicherpuffer zu optimieren. Es deckt zudem sichere Netzwerkkommunikation durch die Integration von SSL/TLS-Layern für verschlüsselte Streams, Zertifikatsauthentifizierung und sichere Verbindungsbeendigung ab. Das Framework bietet plattformübergreifende Abstraktionen für Datei-I/O und System-Signal-Management, um die Entwicklung stabiler Netzwerkanwendungen zu unterstützen.
Extracts headers and status codes from raw HTTP messages to manage connection state and payload sizes.
This library is a browser-based utility for real-time voice activity detection. It monitors live microphone input to distinguish between background noise and human vocalizations, enabling applications to identify when a person begins or stops speaking. The project utilizes WebAssembly to execute signal processing logic within the browser sandbox, ensuring high-performance analysis of audio buffers. It integrates directly with the native audio graph to capture raw pulse-code modulation data, employing an energy-threshold approach to identify speech boundaries. The library provides an event-dr
Manages continuous audio sample streams using efficient buffer structures for low-latency processing.