9 repository-uri
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 este o bibliotecă C concepută pentru parsarea mesajelor HTTP de tip zero-copy, deconstrucția URL-urilor și gestionarea actualizărilor de protocol și a codificării chunked. Oferă utilitare pentru extragerea header-elor, metodelor și codurilor de stare din cererile și răspunsurile HTTP. Proiectul include un parser de URL-uri zero-copy pentru descompunerea șirurilor în componente individuale și un mecanism pentru detectarea cererilor de comutare a protocolului, pentru a identifica offset-ul exact de octeți unde încep datele non-HTTP. De asemenea, dispune de un decodor pentru gestionarea fluxurilor de date cu transfer codificat chunked.
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 este o bibliotecă C++ pentru implementarea clienților și serverelor HTTP și WebSocket de nivel scăzut. Acesta funcționează ca un framework de rețea asincron conceput pentru a compune operațiuni I/O non-blocante și stive de fluxuri stratificate pentru gestionarea traficului de rețea concurent, utilizând în mod specific modelul asincron Boost.Asio. Biblioteca oferă o implementare cuprinzătoare a protocoalelor HTTP/1.1 și WebSocket. Pentru HTTP, include primitive pentru parsarea și serializarea mesajelor cu suport pentru codificarea transferului fragmentat (chunked), citirea incrementală a corpului și pipelining-ul cererilor. Implementarea sa WebSocket acoperă întregul ciclu de viață al comunicării bidirecționale, inclusiv handshake-uri, negocierea subprotocolului, fragmentarea mesajelor și monitorizarea stării prin cadre de control. Beast include o suită specializată de instrumente pentru gestionarea buffer-elor de rețea pentru a optimiza I/O scatter-gather prin buffer-e de memorie dinamice și bazate pe secvențe. De asemenea, acoperă comunicarea securizată în rețea prin integrarea straturilor SSL/TLS pentru fluxuri criptate, autentificarea certificatelor și terminarea securizată a conexiunilor. Framework-ul oferă abstracții cross-platform pentru I/O de fișiere și gestionarea semnalelor de sistem pentru a susține dezvoltarea stabilă a aplicațiilor de rețea.
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.