-
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
-
NetworkGame Tictactoe
NetworkGame Tictactoe
- 2023-04-17 19:10:04下载
- 积分:1
-
linux系统下控制并口端口的c语言代码,很好用
linux系统下控制并口端口的c语言代码,很好用-linux system to control parallel port c language code, a very good use
- 2022-03-18 16:51:56下载
- 积分:1
-
Linux 0.01源代码为Linux 内核最早的源代码
Linux 0.01源代码为Linux 内核最早的源代码-The source code of linux 0.01 is the earliest source cod of linux kernel.
- 2022-08-09 03:23:07下载
- 积分:1
-
dual rs232 drivers for linux
dual rs232 drivers for linux
- 2022-10-23 10:55:03下载
- 积分:1
-
linux下的ping源代码,用socket实现,只是学习Linux…
linux 下的ping源码,用socket实现,刚学linuxs socket编程的可以下载阅读。当然,你可以把该程序移植到嵌入式系统中。-ping source code under linux, using socket implementation, just learning linuxs socket programming can be downloaded to read. Of course, you can put this program ported to an embedded system.
- 2022-10-28 11:45:03下载
- 积分:1
-
unix文件系统模拟,用vc实现.一个非常简单的文件系统管理模拟....
unix文件系统模拟,用vc实现.一个非常简单的文件系统管理模拟.
- 2023-03-15 07:50:04下载
- 积分:1
-
一种很流行的linux下的输入法源码.推荐下载.下载后将扩展名".rar"删掉就行了....
一种很流行的linux下的输入法源码.推荐下载.下载后将扩展名".rar"删掉就行了.-a very popular linux under the input source. Recommended download. After downloading extensions. " Rar "deleted there.
- 2022-06-27 12:46:02下载
- 积分:1
-
linux,shell编程。讲解详细,包括awk,sed,tr等工具的使用。对于初学者而言,非常有帮助。
linux,shell编程。讲解详细,包括awk,sed,tr等工具的使用。对于初学者而言,非常有帮助。-linux, shell programming. Explain in detail, including awk, sed, tr and other tools. For beginners, the very helpful.
- 2022-01-31 15:45:47下载
- 积分:1
-
linux下僵尸进程的回收
linux下僵尸进程的回收-zombie under the recovery process
- 2022-12-21 04:25:03下载
- 积分:1