-
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
-
saac 石器时代的 saac the Stone Age
saac 石器时代的 saac the Stone Age -saac the Stone Age
- 2022-02-26 01:22:01下载
- 积分:1
-
Linux 2.6 内核上配置IPSec VPN 的工具
Linux 2.6 内核上配置IPSec VPN 的工具-Linux kernel 2.6 on IPSec VPN configuration tool
- 2022-02-02 07:40:18下载
- 积分:1
-
unix网络编程recvfromflags
unix网络编程recvfromflags-recvfromflags
- 2023-06-24 15:25:03下载
- 积分:1
-
死锁以及如何与互斥解决它
Deadlock and how to solve it with mutex
a client request bank command like DEPOSIT CREATE TRANSFER WITHDRAW
and 4 server
server 1 simple server.
server 2 shows wrong answer an withdraw(2 terminal - 2 threads)
server 3 solve 2
server 4 solve deadlock on transfer-Deadlock and how to solve it with mutex
a client request bank command like DEPOSIT CREATE TRANSFER WITHDRAW
and 4 server
server 1 simple server.
server 2 shows wrong answer an withdraw(2 terminal- 2 threads)
server 3 solve 2
server 4 solve deadlock on transfer
- 2022-06-19 01:49:01下载
- 积分:1
-
Linux操作系统内存磁盘初始化技术详细解析
Linux操作系统内存磁盘初始化技术详细解析-Linux Fuzeng brazing department conduct anti twitter Jian TONG Zhao summarized its original site captured术lowly agate细Pleiades
- 2022-06-01 22:08:01下载
- 积分:1
-
线程池 线程池
线程池 线程池-thread pool thread pool thread pool
- 2022-05-31 19:37:51下载
- 积分:1
-
LINUX的网络编程一些以前搜集到的东西对我没什么用了贡献给大家吧...
LINUX的网络编程一些以前搜集到的东西对我没什么用了贡献给大家吧-LINUX Network Programming previously collected no use to me everyone has contributed to it
- 2022-05-05 10:23:23下载
- 积分:1
-
C++ GUI Programming with Qt 4中文版
C++ GUI Programming with Qt 4中文版-C++ GUI Programming with Qt 4 Chinese version
- 2022-04-12 19:28:46下载
- 积分:1
-
minigui 开发软件附带实例源码,mg
minigui 开发软件附带实例源码,mg-samples-1.6.2.tar.gz。-MiniGUI software development with examples source, mg-samples- 1.6.2.tar.gz.
- 2022-05-25 16:26:49下载
- 积分:1