-
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
-
这是利用FIFO在Linux C的一个例子,说明整个操作指南…
这是liunx下C编程关于fifo使用的例子,其中比较全面的讲述了fifo的使用方法。-This is an example of using fifo in linux c,which shows a whole operation guide on fifo.
- 2022-03-30 07:21:49下载
- 积分:1
-
GNU Make
GNU Make 使用手册(中译版),原汁原味的译文,是make文件不可多的的好教程-GNU Make
- 2022-01-25 15:51:51下载
- 积分:1
-
硬件设备管理标准接口,标准定义的安全…
HIP 硬件设备管理标准接口,SAF定义的标准接口实现-HIP hardware device management standard interfaces, SAF definition of the standard interfaces
- 2023-03-02 22:25:03下载
- 积分:1
-
本书主要介绍嵌入式LINUX的各种资源以及性能,比较系统的阐述了LINUX的文件结构和内存管理,资源释放等...
本书主要介绍嵌入式LINUX的各种资源以及性能,比较系统的阐述了LINUX的文件结构和内存管理,资源释放等-This book introduces a variety of resources embedded LINUX, as well as performance, a more systematic exposition of the LINUX file structure and memory management, resource release, etc.
- 2023-05-10 02:50:03下载
- 积分:1
-
linux内核源码的中文解读,以便初学者能更好地学习和了解linux内核,尽早进入状态....
linux内核源码的中文解读,以便初学者能更好地学习和了解linux内核,尽早进入状态.-linux kernel source code of the Chinese reading, so beginners can better study and understand the linux kernel, as soon as possible to enter the state.
- 2023-06-14 19:00:09下载
- 积分:1
-
linux驱动的入门教材啦,很好用,非常适合各位想进入该领域的同志啦.加油看吧...
linux驱动的入门教材啦,很好用,非常适合各位想进入该领域的同志啦.加油看吧-entry materials-- that is useful, very appropriate for you to enter the field of Comrade it. Refueling CMTech
- 2022-05-21 03:14:55下载
- 积分:1
-
这是浙大Linux课件配套教程,对于初学者来说,提供了可靠的依据。
这是浙大Linux教程配套课件,它为初学者提供了很好的平台,里面详细介绍了LINUX的安装和应用,不仅有文字,还有截图的详细介绍,让大家一看就懂-This is Zheda Linux courseware supporting tutorials, for beginners it provides a good platform, which details the installation of LINUX and applications, not only has the text, there is a screenshot of the detailed introduction, let everyone know one look on
- 2023-07-08 21:10:07下载
- 积分:1
-
44B0的一个简易原理图
44B0的一个简易原理图-44B0 of a simple diagram
- 2022-01-27 22:02:37下载
- 积分:1
-
在linux或unix中,使用系统调用fork( )创建两个子进程,并观察子进程和父进程的运行情况。...
在linux或unix中,使用系统调用fork( )创建两个子进程,并观察子进程和父进程的运行情况。-In linux or unix, the use of system calls fork () to create two sub-processes, and to observe the sub-process and the operation of the parent process.
- 2022-02-13 10:28:00下载
- 积分:1