-
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分布使用在嵌入式环境…
Learn how to build a custom Linux® distribution to use in an embedded environment,
in this case to drive a Technologic Systems TS-7800 single-board computer. In this
tutorial, you learn about cross-compiling, the boot loader, file systems, the root file
system, disk images, and the boot process, all with respect to the decisions you
make as you re building the system and creating the distribution.
- 2022-03-22 18:30:37下载
- 积分:1
-
一个管理网络电视资源的QT界面。MagicLinux + QT4 编译完成
一个管理网络电视资源的QT界面。MagicLinux + QT4 编译完成-A management network television resources QT interface. MagicLinux QT4 compile complete
- 2022-02-25 19:36:36下载
- 积分:1
-
读共享内存的c语言程序
读共享内存的c语言程序-Reading shared memory c Language Program
- 2022-06-11 16:39:34下载
- 积分:1
-
linux下DIo驱动,在FC5下测试通过!
linux下DIo驱动,在FC5下测试通过!-DIo under linux drivers in the test under FC5!
- 2022-04-23 15:10:27下载
- 积分:1
-
网卡抓包,分析程序。 网卡抓包,分析程序。
网卡抓包,分析程序。 网卡抓包,分析程序。 -Card Ethereal, analysis program. Card Ethereal, analysis program. Card Ethereal, analysis program. Card Ethereal, analysis program.
- 2022-07-08 10:19:40下载
- 积分:1
-
linux环境下利用fortran语言开发,地震勘探中利用射线法进行转换波模拟的程序。在目录下执行make进行编译,在demo目录中有该程序的例子....
linux环境下利用fortran语言开发,地震勘探中利用射线法进行转换波模拟的程序。在目录下执行make进行编译,在demo目录中有该程序的例子.-linux environment using fortran language development, the use of seismic ray method to convert wave simulation procedures. Make the implementation of the directory to compile, in the demo directory has the program examples.
- 2022-02-22 11:04:20下载
- 积分:1
-
.添加系统调用.采用编译内核的方法,添加一个新的系统调用 编写一个应用程序,测试新添加的系统调用 系统调用的功能:文件拷贝.2添加设备驱动程序.采用模块方法,添...
.添加系统调用.采用编译内核的方法,添加一个新的系统调用 编写一个应用程序,测试新添加的系统调用 系统调用的功能:文件拷贝.2添加设备驱动程序.采用模块方法,添加一个新的设备驱动程序要求添加字符设备的驱动 编写一个应用程序,测试添加的驱动程序. 4分析/proc文件.监控系统状态,显示系统中若干部件的使用情况 用图形界面显示系统监控状态。-. Add system calls. The methods used to compile the kernel, add a new system call to prepare an application to test the newly added system call system call features: file copy .2 add device drivers. Using modular approach to add a new The device driver requests to add character device driver to prepare an application, test driver added. 4 Analysis of/proc file. monitoring system status, display systems in several parts of the use of graphical interface display system used to monitor state.
- 2023-09-07 08:35:04下载
- 积分:1
-
判断网络上某个TCP/IP主机是否可以连通的C函数库
判断网络上某个TCP/IP主机是否可以连通的C函数库-judgment on a network TCP/IP connectivity can host the C library
- 2022-01-24 14:50:29下载
- 积分:1
-
A part of LFS.This is a server software.
A part of LFS.This is a server software.
- 2022-09-22 23:05:03下载
- 积分:1