-
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下C语言编程--时间概念,包括时间表示,时间测量,计时器的使用三部分内容。仅供参考。-Linux C programming language-- the concept of time, including time, time measurement, the use of timer three parts. For reference purposes only.
- 2022-05-30 01:53:14下载
- 积分:1
-
Bluetooth
蓝牙
- 2022-08-14 03:00:07下载
- 积分:1
-
使用图形界面安装Linux操作系统的步骤
使用图形界面安装Linux操作系统的步骤-Using a graphical interface to install Linux operating system, the steps
- 2022-06-26 02:54:16下载
- 积分:1
-
linux下的程序调试工具gdb,非常好用,
linux下的程序调试工具gdb,非常好用,-It is the debug tool "gdb"for linux,very useful
- 2023-05-15 18:40:03下载
- 积分:1
-
Linux平台环境下, 告警管理的后台程序的源代码
Linux平台环境下, 告警管理的后台程序的源代码-Linux platform environment, the alarm management daemon source code
- 2022-03-17 00:55:46下载
- 积分:1
-
一个tcp通讯公用程序
一个tcp通讯公用程序-a common communications procedures.
- 2022-03-13 09:42:18下载
- 积分:1
-
应用平台 SCO OpenServer 5 编译命令 cc
应用平台 SCO OpenServer 5 编译命令 cc -o fget fget.c -lcurses 此程序适用于SCO UNIX主机系统,客户端为任意平台. 以Windows客户为例,以下简要说明其使用方法. 1、直接拨号方式 先进入Windows的终端仿真器, 使用ATDT命令向UNIX主机拨号,当主机连通时, 运行主机的FGET程序,格式为 FGET 下载文件名.然后,从终端仿真器的传输" 菜单选接收二进制文件选项,输入本地文件名后,即可接收文件. 2、internet连接方式 先将FGET文件在主机上编译通过, 然后用Netterm之类的telnet 软件连接到主机上,当主机连通时,运行主机的FGET程序,格式为 FGET 下载文件名. 然后从菜单选接收文件选项,输入本地文件名后,即可接收文件.-application platform SCO OpenServer compiler five orders cc-o fget fget.c- lcurses this procedure applies to SCO UNIX mainframe system, the client platform to be arbitrary. A Windows client for example, the following brief description of their use. A direct dial-up access ahead of Windows Terminal simulator, ATDT order to use UNIX mainframe dial-up, when the mainframe connectivity, FGET mainframe operating procedures, formats FGET to download the file. Then, terminal emulation from the transmission election quot menu option to receive binary files, input from the local paper, the document may be received. 2 , internet connectivi
- 2022-09-16 13:40:03下载
- 积分:1
-
of serial communications
linux下的串口通讯-of serial communications
- 2022-06-18 17:39:30下载
- 积分:1
-
jacobi algorithm another implementation
jacobi algorithm another implementation
- 2023-07-25 11:35:03下载
- 积分:1