-
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
-
国外Linux编程教材,使用与初中级读者使用
国外Linux编程教材,使用与初中级读者使用-A pretty good linux programming book, especially suitable for linux beginner
- 2022-05-27 11:57:00下载
- 积分:1
-
The source is MiniGUI all the code, for those who want to design GUI is a very g...
该源码是miniGUI的全部代码,对想设计GUI的人来说是很好的一个参考-The source is MiniGUI all the code, for those who want to design GUI is a very good reference
- 2023-08-10 13:20:03下载
- 积分:1
-
linux下使用c语言编写的flash烧写程序。使用jtag边界扫描链控制flash,并将数据写入flash中。...
linux下使用c语言编写的flash烧写程序。使用jtag边界扫描链控制flash,并将数据写入flash中。-linux using c language program written in flash Shaoxie. Jtag boundary scan chain to control the use of flash, and the data is written to flash.
- 2022-03-24 16:48:34下载
- 积分:1
-
under linux dictionary translate source code, it is difficult to get
linux环境下词典翻译的源代码,很难得-under linux dictionary translate source code, it is difficult to get
- 2022-05-27 02:47:54下载
- 积分:1
-
linux环境下,对时间使用的实例,包括秒和毫秒,微秒
linux环境下,对时间使用的实例,包括秒和毫秒,微秒-linux environment, examples of the use of time, including seconds and milliseconds, microseconds
- 2022-02-14 22:26:46下载
- 积分:1
-
sl811主机源代码
sl811主机源代码-sl811 mainframe source code
- 2023-06-17 21:25:03下载
- 积分:1
-
isp116x系列在linux下的驱动程序的USB芯片
isp116x系列USB芯片在LINUX下的驱动程序-isp116x series of USB chip in the Linux Driver
- 2022-05-30 15:38:23下载
- 积分:1
-
FVWM
fvwm-themes-0.7.0.tar.ba2,让你的fvwm漂亮起来.-gnome-session-themes- 0.7.0.tar.ba2, so you pretty up the gnome-session. Oh
- 2022-02-05 03:04:07下载
- 积分:1
-
Building Embedded Linux Systems
Building Embedded Linux Systems
- 2023-08-10 17:50:03下载
- 积分:1