-
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
-
分块通用CACHE
分块通用CACHE
分块通用CACHE
分块通用CACHE-Block GM CACHE block GM CACHE
- 2022-02-24 18:55:13下载
- 积分:1
-
linux上实现的多种型号的AVR模拟器
linux上实现的多种型号的AVR模拟器-linux achieve a variety of models of AVR simulators
- 2022-03-29 21:04:06下载
- 积分:1
-
unix下网络通讯方面的程序
unix下网络通讯方面的程序-communications procedures
- 2023-06-21 15:25:03下载
- 积分:1
-
ARM编程的基本知识,BOOT代码流程和功能分析,OS中断程序的编写举例
和BOOT代码的流程图,希望这些内容能为初学ARM的朋友拨开迷雾,以...
ARM编程的基本知识,BOOT代码流程和功能分析,OS中断程序的编写举例
和BOOT代码的流程图,希望这些内容能为初学ARM的朋友拨开迷雾,以最快的速度和最短的时间走进嵌入世界的大们
-ARM basic knowledge of programming, BOOT code flow and functional analysis, OS interrupted, for example the preparation of procedures and flow chart BOOT code, I hope the content of the ARM for the beginner Friend fog cleared, the fastest and the shortest period of time away embedded into the big world have
- 2022-01-25 18:23:49下载
- 积分:1
-
unix环境高级编程
unix环境高级编程--书中完整的示例代码。-advanced programming unix environment
- 2022-06-01 10:19:42下载
- 积分:1
-
碧轩居
碧轩居-Linux命令大全,CHM格式,方便检索,包含x-windows,备份,文件管理,网络等常用命令-Bi Xuan Habitat-Linux command Guinness, CHM format, easy retrieval, including x-windows, backup, document management, network and other commonly used commands
- 2022-03-26 16:07:37下载
- 积分:1
-
linux下BT软件的源码。源代码可以使用命令“make”进行编译,使用该命令可以生成该章所有可执行程序。如果没有生成对应的可执行程序,请对照书中相应的内容。在...
linux下BT软件的源码。源代码可以使用命令“make”进行编译,使用该命令可以生成该章所有可执行程序。如果没有生成对应的可执行程序,请对照书中相应的内容。在编译生成可执行程序时,可能会生成警告:“warning:no newline at end of file”,产生这个警告是因为本书所有源代码是在Windows中进行编写的,Windows和Linux两种操作系统对于文件末尾的标识符处理不一致。该警告不会影响程序的功能和性能,所以不必理会。-err
- 2023-07-12 20:40:03下载
- 积分:1
-
NGN format conversion proc* c
ngn格式转换程序proc*c-NGN format conversion proc* c
- 2023-09-03 21:05:03下载
- 积分:1
-
linux环境下利用QT4做的一个小程序,程序中窗口部件使用了双缓冲技术...
linux环境下利用QT4做的一个小程序,程序中窗口部件使用了双缓冲技术-linux environment using QT4 do a small procedure, process window using a double buffering components technology
- 2022-01-28 01:38:04下载
- 积分:1