-
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
-
chinalinuxpub.com Forum from beginner version sorted out the best areas for begi...
这篇文档是由chinalinuxpub.com论坛初学版精华区整理而成,对初学者来说,是比较入门级的读物.-chinalinuxpub.com Forum from beginner version sorted out the best areas for beginners, is the entry-level books.
- 2022-06-30 14:29:07下载
- 积分:1
-
自定义代理类的实现 是想QItemDelegate的虚函数 可直接加入工程运用...
自定义代理类的实现 是想QItemDelegate的虚函数 可直接加入工程运用-Implementation of a custom proxy class is to QItemDelegate virtual function can be directly used to join project
- 2022-07-09 00:42:03下载
- 积分:1
-
linux DVR 设备 开发包,杭州海康的最新SDK
linux DVR 设备 开发包,杭州海康的最新SDK-linux DVR equipment development kit, Hangzhou Haikang latest SDK
- 2023-06-25 01:00:04下载
- 积分:1
-
LINUX下,蓝牙协议栈
包括SDP HCI 等完整的代码
LINUX下,蓝牙协议栈
包括SDP HCI 等完整的代码-LINUX, the Bluetooth protocol stack including the SDP HCI, such as a complete code
- 2022-09-08 14:00:02下载
- 积分:1
-
unix下一个实现带参数的简单shell的程序
unix下一个实现带参数的简单shell的程序-unix under implementation with a simple shell parameters of the process
- 2022-03-15 18:48:54下载
- 积分:1
-
基于V4L开发的一个运动监测的程序,需要一个支持V4L的采集设备(USB摄像头或者采集卡)...
基于V4L开发的一个运动监测的程序,需要一个支持V4L的采集设备(USB摄像头或者采集卡)-based on the development of a V4L movement monitoring procedures, need a V4L support the acquisition of equipment (USB camera or acquisition card)
- 2023-02-05 12:55:03下载
- 积分:1
-
arm s3c2440 using the debugging tools Edison 320X234 image acquisition and displ...
arm s3c2440下 用爱迪生工具调试的320X234的图象采集显示程序。-arm s3c2440 using the debugging tools Edison 320X234 image acquisition and display program.
- 2022-01-23 11:01:06下载
- 积分:1
-
Linux下的一个关系数据库源代码,Samba用到了该部分代码。
Linux下的一个关系数据库源代码,Samba用到了该部分代码。-Linux relational database source code, Samba used this
part of codes.
- 2022-03-03 10:46:59下载
- 积分:1
-
UNIX编程环境
UNIX环境高级编程-UNIX Programming Environment
- 2022-07-08 09:40:31下载
- 积分:1