-
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
-
实现了一个简单的浏览器
实现了一个简单的浏览器-achieve a simple browser
- 2022-12-27 20:55:03下载
- 积分:1
-
UNIX高级编程, word 格式的,推荐!
UNIX高级编程, word 格式的,推荐!-UNIX high-level programming, word format recommended!
- 2022-05-07 07:38:14下载
- 积分:1
-
贪吃蛇在arm版上的运行,这是一个很好玩的游戏,是我的一次作业...
贪吃蛇在arm版上的运行,这是一个很好玩的游戏,是我的一次作业-Snake in the arm version of the run, this is a very fun game, is my one-stop
- 2022-07-19 00:42:36下载
- 积分:1
-
MySQL数据库的安全配置_实用技术,000(1)
MySQL数据库安全配置_实用技巧来个内外兼修(1)-MySQL database security configuration _ practical skills to 000 Out (1)
- 2022-06-17 03:59:26下载
- 积分:1
-
这个文件包含the TIPS和诡计for Ubuntu 8.10。它deceibes the坚持……
this document contains the tips and trick for UBUNTU 8.10. It deceibes the following procedures and tips used for Ubuntu 8.10:
1.Procedure to create and login as root from GUI page no. 2
2.Procedure to install ns 2 in ubuntu 8.10 page no. 2
3.Procedure to install VLC player in Ubuntu 8.10 page no. 6
4.Procedure to install Real player in Ubuntu 8.10 page no.7-this document contains the tips and trick for UBUNTU 8.10. It deceibes the following procedures and tips used for Ubuntu 8.10:
1.Procedure to create and login as root from GUI page no. 2
2.Procedure to install ns 2 in ubuntu 8.10 page no. 2
3.Procedure to install VLC player in Ubuntu 8.10 page no. 6
4.Procedure to install Real player in Ubuntu 8.10 page no.7
- 2022-03-23 17:32:20下载
- 积分:1
-
linux federo 6下的bt软件的类库文件
linux federo 6下的bt软件的类库文件-linux federo 6 under the bt software library files
- 2023-09-05 10:50:04下载
- 积分:1
-
linux的入门教程,pdf格式,适合新手查阅
linux的入门教程,pdf格式,适合新手查阅-Linux ABC tutorial. PDF format. It s useful for beginner as a reference book.
- 2023-01-04 05:30:04下载
- 积分:1
-
linux下C编程详解高效手册,一直使用的一本参考书,感觉很有价值!...
linux下C编程详解高效手册,一直使用的一本参考书,感觉很有价值!-Detailed under linux and efficient C programming manual, has been used in a reference book, I feel great value!
- 2022-04-01 21:55:13下载
- 积分:1
-
In the Linux system,/etc directory there is such a file passwd, this file contai...
在Linux系统的/etc目录下有这样一个文件passwd,该文件里包含系统中所有用户信息的记录,记录里包含每个用户的如下信息:用户名、密码、用户ID、组ID、用户全名、用户主目录和用户登录所用的shell。请设计一个脚本(shell)程序能实现增加、删除、查找和显示特定用户信息的功能。你们可以通过创建一些UNIX/LINUX shell 脚本文件来满足以上需求。-In the Linux system,/etc directory there is such a file passwd, this file contains all the user information system, records, record where each user that contains the following information: user name, password, user ID, group ID, user" s full name , the user" s home directory and the user logged in with the shell. Please design a script (shell) program enables to add, delete, search and display information on a specific user function. You can by creating a number of UNIX/LINUX shell script file to meet the above requirements.
- 2022-02-04 08:25:33下载
- 积分:1