-
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
-
Office of the software a touch
本软件一个处摸屏驱动软件,在ads上编译-Office of the software a touch-screen software, compiled in ads
- 2022-05-30 08:48:20下载
- 积分:1
-
共享记忆体是指同一块记忆体区段被一个以上的行程所分享。这是我们所知速度最快的行程间通讯方式。使用共享记忆体在使用多CPU的机器上,会使机器发挥较佳的效能。...
共享记忆体是指同一块记忆体区段被一个以上的行程所分享。这是我们所知速度最快的行程间通讯方式。使用共享记忆体在使用多CPU的机器上,会使机器发挥较佳的效能。-shared memory is with a memory segment was more than one trip to share. We know this is the fastest means of communication between the itinerary. The use of shared memory in the use of multi-CPU machines, machines will play better efficiency.
- 2022-02-03 14:25:34下载
- 积分:1
-
linux指令大全 全面介绍每一个参数使用方法规则
linux指令大全 全面介绍每一个参数使用方法规则 -linux commands Guinness comprehensive introduction for each parameter using the rules
- 2022-01-26 02:30:51下载
- 积分:1
-
设计并实现一个多用户多级目录结构的文件系统,开发平台是Linux...
设计并实现一个多用户多级目录结构的文件系统,开发平台是Linux-Designed and implemented a multi-user multi-level directory structure of the file system, development platform is Linux
- 2022-08-03 14:14:50下载
- 积分:1
-
在beginning linux programming 书中提供的第六章的有关代码
在beginning linux programming 书中提供的第六章的有关代码-In the beginning linux programming book provided by Chapter VI of the code
- 2022-07-23 03:51:17下载
- 积分:1
-
本文讲解了linux常用指令,对于初学者大有裨益
本文讲解了linux常用指令,对于初学者大有裨益-This article explained the commonly used linux commands for beginners of great benefit to
- 2023-04-17 16:30:04下载
- 积分:1
-
svm文本分类改进,关键词抽取(Keywords Extraction)指的是如何从一篇文档(或多篇相关文档)中自动抽取出能很好地代表文档主题的若干个词或短语。...
svm文本分类改进,关键词抽取(Keywords Extraction)指的是如何从一篇文档(或多篇相关文档)中自动抽取出能很好地代表文档主题的若干个词或短语。-Improvement of SVM text classification, keyword extraction (Keywords Extraction) refers to how a document (or more related documents) automatically extracted to represent the theme of a number of documents a word or phrase.
- 2022-02-12 03:59:55下载
- 积分:1
-
Linux设备驱动开发详解_PCI驱动范例
Linux设备驱动开发详解_PCI驱动范例-Linux device driver development driver _PCI Detailed Example
- 2022-05-12 22:24:09下载
- 积分:1
-
Is the CPU performance testing tools, and platform
是CPU性能测试工具,与平台无关。
为第三方工具,可以用来评价系统性能。-Is the CPU performance testing tools, and platform-independent. For third-party tools can be used to evaluate the system performance.
- 2022-04-12 21:49:40下载
- 积分:1