-
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平台上最常用的图形系统---X Window。入门者适合看看。-Linux platform to introduce the most commonly used graphic system--- X Window. Suitable for beginners to see.
- 2023-02-17 21:10:03下载
- 积分:1
-
linux编程指南源代码
适于Linux下C++的初学者
linux编程指南源代码
适于Linux下C++的初学者
-linux Programming Guide is suitable for Linux source code under the C++ beginner
- 2022-03-04 02:36:35下载
- 积分:1
-
linux的适用文档和心得体会,通过linux我们同样可以很好的进行一些基本的操作。...
linux的适用文档和心得体会,通过linux我们同样可以很好的进行一些基本的操作。-linux application documents and experiences, through the linux we will also be able to carry out a good number of basic operations.
- 2022-10-02 19:05:03下载
- 积分:1
-
RoboCup仿真组世界冠军源代码
RoboCup仿真组世界冠军源代码-RoboCup simulation World Champions source code
- 2023-08-25 18:45:03下载
- 积分:1
-
multithreading example
linux 多线程例子-multithreading example
- 2022-03-09 09:00:12下载
- 积分:1
-
This document describe the fundamental concept of network simulator
This document describe the fundamental concept of network simulator-2, a simulation environment for computer networking field of engineering. It covers the description of basic tools and components used in network simulations.
- 2022-03-22 06:08:07下载
- 积分:1
-
String libraries implementations in C
String libraries implementations in C
- 2022-05-05 10:09:30下载
- 积分:1
-
ucos
uCOS-II源码,供大家学习之用!!!
uCOS-II源码,供大家学习之用-uCOS-II源码,供大家学习之用!!!
- 2022-01-25 23:56:03下载
- 积分:1
-
白皮书,Qt参考使用
Qt 3.1白皮书,使用Qt开发的参考资料-White Paper, the use of Qt reference
- 2022-01-28 06:29:33下载
- 积分:1