awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
markparticle avatar

markparticle/WebServer

0
View on GitHub↗
4,102 星标·785 分支·C++·Apache-2.0·6 次浏览

WebServer

该项目是一个专为 Linux 环境设计的 C++ HTTP Web 服务器。它作为一个高性能网络服务器,处理 HTTP 请求并交付静态文件。

该服务器利用 Reactor 模型和线程池来处理大量并发连接。它采用状态机和正则表达式进行请求解析,同时使用最小堆定时器系统管理连接超时,以自动关闭非活动套接字。

其他能力包括用于减少握手开销的数据库连接池,以及用于注册和登录的集成用户认证系统。系统可观测性通过异步日志系统提供,该系统在后台记录运行时事件。

Features

  • High-Performance HTTP Servers - Implements a high-performance HTTP server optimized for low-latency and high-throughput request delivery.
  • HTTP Servers - Provides a full C++ implementation of an HTTP server to process incoming requests and serve files.
  • Linux Network Services - Implements a high-performance network server designed specifically for the Linux operating system.
  • Asynchronous Request Handlers - Implements an asynchronous request handler using a thread pool and timers to maintain high throughput.
  • Multi-Threaded Request Handling - Implements a reactor model and thread pool to distribute network IO and request processing across multiple CPU cores.
  • Reactor Pattern Event Loops - Employs a reactor pattern event loop to dispatch non-blocking network events to worker pools.
  • Fixed-Size Thread Pools - Distributes request processing across a fixed-size thread pool to maximize CPU utilization.
  • Static File Servers - Provides a lightweight server for hosting static assets without dynamic processing.
  • Filesystem Static File Servings - Delivers static files directly from the filesystem using request parsing and state machines.
  • Connection Pools - Maintains a cache of persistent database connections to optimize resource usage and performance.
  • Database Connection Poolers - Acts as a database connection pooler to manage and reuse persistent links.
  • Connection Pooling - Provides a connection pooling mechanism to reuse database links and reduce handshake latency.
  • Connection Timeout Management - Automatically closes idle network sockets using a min-heap timer system to reclaim resources.
  • Byte Stream Parsing - Processes raw HTTP byte streams through a state machine to extract headers and bodies.
  • Integrated User Management - Integrates built-in user management for handling registration and login flows.
  • User Authentication Systems - Provides a user authentication system for registration and login via backend database integration.
  • Connection Timeout Heaps - Uses a priority-heap to track connection expiration times and efficiently close timed-out sockets.

Star 历史

markparticle/webserver 的 Star 历史图表markparticle/webserver 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

WebServer 的开源替代方案

相似的开源项目,按与 WebServer 的功能重合度排序。
  • linyacool/webserverlinyacool 的头像

    linyacool/WebServer

    8,213在 GitHub 上查看↗

    This is a high-performance C++ HTTP web server designed for delivering static content. It operates as an asynchronous event loop server that combines IO multiplexing with worker thread pools to handle concurrent requests without blocking. The server specializes in TCP connection management, featuring keep-alive sessions, request pipelining, and timer-based timeout tracking for idle sockets. To ensure high throughput, it utilizes double-buffered asynchronous logging and background threads to prevent disk I/O latency from impacting network traffic. The system covers broad capability areas incl

    C++cpp11epollhttp
    在 GitHub 上查看↗8,213
  • swoft-cloud/swoftswoft-cloud 的头像

    swoft-cloud/swoft

    5,539在 GitHub 上查看↗

    Swoft is a high-performance PHP microservice framework designed to handle concurrent network traffic and asynchronous tasks using coroutines. It provides a foundation for building scalable backend services through a coroutine-driven runtime and high-performance servers supporting HTTP, WebSocket, RPC, and TCP protocols. The framework distinguishes itself through a set of governance and optimization tools, including a distributed service coordination system for registration, discovery, and circuit breaking. It also features a connection pool manager for reusable database and network sockets an

    PHP
    在 GitHub 上查看↗5,539
  • qinguoyi/tinywebserverqinguoyi 的头像

    qinguoyi/TinyWebServer

    19,582在 GitHub 上查看↗

    TinyWebServer is a lightweight HTTP web server written in C++ for Linux. It is designed to handle HTTP requests and serve static content using low-level Linux system calls for network connection management. The server utilizes a state machine to parse GET and POST data from network sockets. It incorporates a MySQL database connection pool to manage reusable links and reduce the overhead of opening and closing sessions. The project covers static media streaming for images and video files, user authentication workflows for registration and login, and system activity logging via both synchronou

    C++
    在 GitHub 上查看↗19,582
  • facebook/proxygenfacebook 的头像

    facebook/proxygen

    8,351在 GitHub 上查看↗

    Proxygen is a collection of C++ libraries for building high-performance HTTP servers and clients. It provides a protocol parser that converts raw network bytes into high-level transaction objects and includes a network stack for processing web traffic over the QUIC transport protocol. The project implements a layered protocol abstraction and a QUIC-based transport integration to support multiple versions of the HTTP standard, including HTTP/3. It utilizes state-machine based parsing and an event-driven I/O loop to manage concurrent network connections. The library covers asynchronous buffer

    C++
    在 GitHub 上查看↗8,351
查看 WebServer 的所有 30 个替代方案→

常见问题解答

markparticle/webserver 是做什么的?

该项目是一个专为 Linux 环境设计的 C++ HTTP Web 服务器。它作为一个高性能网络服务器,处理 HTTP 请求并交付静态文件。

markparticle/webserver 的主要功能有哪些?

markparticle/webserver 的主要功能包括:High-Performance HTTP Servers, HTTP Servers, Linux Network Services, Asynchronous Request Handlers, Multi-Threaded Request Handling, Reactor Pattern Event Loops, Fixed-Size Thread Pools, Static File Servers。

markparticle/webserver 有哪些开源替代品?

markparticle/webserver 的开源替代品包括: linyacool/webserver — This is a high-performance C++ HTTP web server designed for delivering static content. It operates as an asynchronous… swoft-cloud/swoft — Swoft is a high-performance PHP microservice framework designed to handle concurrent network traffic and asynchronous… qinguoyi/tinywebserver — TinyWebServer is a lightweight HTTP web server written in C++ for Linux. It is designed to handle HTTP requests and… facebook/proxygen — Proxygen is a collection of C++ libraries for building high-performance HTTP servers and clients. It provides a… seanmonstar/warp — Warp is a Rust HTTP web framework designed for building high-performance web servers. It provides a system for… cloudwego/hertz — Hertz is a high-performance Go HTTP framework designed for building scalable microservices, RESTful APIs, and AI…