-
spserver 是一个实现了半同步/半异步(Half
spserver 是一个实现了半同步/半异步(Half-Sync/Half-Async)和领导者/追随者(Leader/Follower) 模式的服务器框架,能够简化 TCP server 的开发工作。
spserver 使用 c++ 实现,目前实现了以下功能:
1.封装了 TCP server 中接受连接的功能;
2.使用非阻塞型I/O和事件驱动模型,由主线程负责处理所有 TCP 连接上的数据读取和发送,因此连接数不受线程数的限制;
3.主线程读取到的数据放入队列,由一个线程池处理实际的业务。
4.一个 http 服务器框架,即嵌入式 web 服务器(请参考: SPWebServer:一个基于 SPServer 的 web 服务器框架)
-spserver is a realization of a semi-synchronous/semi-asynchronous (Half-Sync/Half-Async) and leader/followers (Leader/Follower) model server framework, to simplify the development of TCP server. spserver use c++ realize now realize the following functions: 1. Packaging the TCP server to accept connections function 2. the use of non-blocking type I/O and event-driven model, by the main thread responsible for handling all TCP connection read and send data, so connections are not thread a few restrictions 3. the main thread to read data Add queue, by a thread pool handle the actual business. 4. A http server framework, that is, embedded web server (p
- 2023-03-18 00:40:03下载
- 积分:1
-
qt 一个联系pthread 使用的例子 简单易懂
qt 一个联系pthread 使用的例子 简单易懂-qt a link pthread examples of the use of easy-to-read
- 2022-01-25 14:38:19下载
- 积分:1
-
v2.0.15阿尔法linuxhttpd Apache for
Apache V2.0.15 Alpha For Linuxhttpd-2_0_15-alpha.tar.Z
- 2022-03-20 02:17:43下载
- 积分:1
-
linux device driver examples
linux device driver examples
- 2023-05-02 06:00:03下载
- 积分:1
-
目前最为完备的早期Linux系统C源代码,版本为0.11,内有详细注释....
目前最为完备的早期Linux系统C源代码,版本为0.11,内有详细注释.-at present the most comprehensive system of early Linux C source code, version 0.11, with detailed notes.
- 2022-02-07 05:58:51下载
- 积分:1
-
linux下的串口程序的小型机
Linux Minicom Serial program
- 2022-08-03 19:30:57下载
- 积分:1
-
program this is very useful
program this is very useful
- 2022-06-13 16:28:25下载
- 积分:1
-
汇编语言环境下实现混合语言程序设计
在linux环境下实现汇编语言和c语言的混合编程-Linux environment in assembly language and c realize mixed language programming
- 2022-01-30 22:17:31下载
- 积分:1
-
cramfs 的生成过程,呵呵,非常适合初学者用,希望对大家有帮助啊...
cramfs 的生成过程,呵呵,非常适合初学者用,希望对大家有帮助啊-cramfs generation process, Oh, very suitable for beginners to use, we want to help ah
- 2023-02-16 09:00:04下载
- 积分:1
-
dvbstream基于TS
DVBstream is based on the ts-rtp package available at
http://www.linuxtv.org. It broadcasts a (subset of a) DVB transport
stream over a LAN using the rtp protocol. There were a couple of
small bugs in the original ts-rtp application, which I have fixed
here.-DVBstream is based on the ts- rtp package av ailable at http :// www.linuxtv.org. It broadcasts a (subset of a) DVB transport stream over a LAN using the rtp p rotocol. There were a couple of small bugs in the original ts- rtp application, which I have fixed here.
- 2022-05-30 22:23:39下载
- 积分:1