4 个仓库
Techniques for reusing memory buffers across requests to reduce allocation overhead and garbage collection pressure.
Distinct from Managed Memory Allocators: The candidates are low-level OS memory allocators, whereas this is a high-level web framework optimization for request contexts.
Explore 4 awesome GitHub repositories matching web development · Memory Buffer Reuse. Refine with filters or upvote what's useful.
本项目为模拟、基准测试和实现高并发网络连接提供了基础设施,以测试服务器的可扩展性。它包括一个高并发 WebSocket 服务器和相应的负载测试器,旨在验证服务器处理数百万个并发连接的能力。 该系统利用容器化连接模拟器在多个隔离环境中模拟海量流量。这允许部署扩展的客户端实例来执行 WebSocket 负载模拟和稳定性验证。 该实现专注于通过异步 I/O 多路复用、缓冲区池回收和事件循环来减少内存开销和 CPU 上下文切换。它还涉及调整 Linux 内核参数和操作系统文件描述符,以支持海量打开的网络套接字。
Implements memory buffer reuse across concurrent sessions to increase total connection capacity.
This is an open-source, crowd-sourced wiki textbook that teaches Linux system programming in C. It covers the core operating system concepts of process management through the fork-exec-wait model, dynamic memory allocation using implicit free list heap allocators, inode-based file systems, inter-process communication via pipes and shared memory, POSIX threads with synchronization primitives, signal-based asynchronous notification, virtual memory with page table translation, and runtime diagnostics using Valgrind and GDB. The textbook distinguishes itself by providing practical, implementation
Teaches duplicating getline buffers with strdup to avoid dangling pointers.
TNN 是一个深度学习推理框架,旨在跨移动端、桌面端和服务器硬件执行预训练神经网络。它作为硬件加速运行时和模型压缩工具包,为在不同环境中部署模型提供了统一接口。 该框架包含一个 ONNX 模型转换器,可将来自各种训练框架的模型转换为标准化的内部格式。其特色在于结合了模型压缩工具(包括权重量化和静态代码剪枝)以及一种在非依赖节点之间重用缓冲区的内存管理系统,以减少 RAM 使用。 该系统通过算子融合优化性能以最小化内存访问,并采用平台特定的后端来利用专用处理器和 GPU。它还通过低精度计算和硬件特定调优进一步提高了执行速度。
Implements a memory management system that reuses buffers between non-dependent nodes to reduce total RAM usage.
This project is a comprehensive library of reference implementations and patterns for building web applications using the Go Fiber framework. It provides curated templates and implementation guides for creating REST APIs, web servers, and structured backend services. The repository serves as a practical resource for applying architectural patterns, including Clean and Hexagonal architectures, as well as port-and-adapter decoupling. It offers detailed examples for integrating common web features such as OAuth2 authentication, JWT verification, WebSockets for real-time communication, and server
The project's ability to reuse context buffers across requests to reduce memory overhead.