-
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环境下 共享内存的简单使用,可以学习共享内存的一般方法-linux environment simple to use shared memory, shared memory can learn the general approach
- 2022-05-22 08:45:55下载
- 积分:1
-
亚德科rtk8189c Linux 2.4。X驱动
ADTEK RTK8189C Linux 2.4.X Driver
- 2022-07-09 08:02:28下载
- 积分:1
-
这是一个使用了 cursor 编程技术实现的车站自动售票系统的源代码,其中也包含了一些数据库操作员技术。...
这是一个使用了 cursor 编程技术实现的车站自动售票系统的源代码,其中也包含了一些数据库操作员技术。-This is a use of the cursor programming technology stations automatic ticketing system source code, which also contains a number of database technology operators.
- 2022-01-25 23:14:52下载
- 积分:1
-
here is the xpl that attacks the some of openssl vulnerabilities
here is the xpl that attacks the some of openssl vulnerabilities
- 2022-04-19 17:17:59下载
- 积分:1
-
提供了大量初学CSharp的示例,DataSet/Delegate等使用方法
提供了大量初学CSharp的示例,DataSet/Delegate等使用方法-provide a lot of novice CSharp example, DataSet/Delegate using such methods
- 2022-02-10 15:40:15下载
- 积分:1
-
ARM S3C2410A的GPS代码
arm s3c2410a下实现的GPS程序代码-arm s3c2410a GPS code
- 2023-03-18 23:55:03下载
- 积分:1
-
Linux下Qt编程入门
Linux下Qt编程入门-Linux Qt programming entry
- 2022-04-09 08:29:20下载
- 积分:1
-
linux 学习.
ccs
linux 学习.
ccs-cd-dsdwsasdw
- 2022-03-21 15:37:26下载
- 积分:1
-
FIC8120 方案 FAMulti_RDI
FIC8120 方案 FAMulti_RDI-FIC8120 program FAMulti_RDI
- 2022-04-16 12:41:55下载
- 积分:1