登录
首页 » Linux-Unix program » spserver 是一个实现了半同步/半异步(Half

spserver 是一个实现了半同步/半异步(Half

于 2023-03-18 发布 文件大小:69.87 kB
0 160
下载积分: 2 下载次数: 1

代码说明:

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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Linux 下编程的三个重要工具(ZT).rar
    Linux 下编程的三个重要工具(ZT).rar-Linux Programming three important tools (ZT). Rar
    2022-03-30 11:27:08下载
    积分:1
  • LINUX under the IIC
    LINUX下IIC驱动分析,这是我看到过的讲的最祥细的一个网页文件,看了后IIC驱动就搞定了-LINUX under the IIC-driven analysis, which is speaking I have seen the most Xiangxi of a web document, after reading the Gaoding the IIC driver
    2022-05-05 02:40:44下载
    积分:1
  • QT教程,从基础入门。让你很快上手,从事QT开发
    QT教程,从基础入门。让你很快上手,从事QT开发-It s a good book for QT learner
    2022-12-12 04:45:03下载
    积分:1
  • arm下的对flash进行读写的驱动,对arm爱好者有很大帮助
    arm下的对flash进行读写的驱动,对arm爱好者有很大帮助-under the arm on the flash drive read and write, and lovers of great help arm
    2023-04-12 18:25:03下载
    积分:1
  • Help UNIX master of the 10 practices, we must develop good habits Oh!
    帮助UNIX高手练习10种,一定要养成好习惯哦!
    2022-03-07 16:55:31下载
    积分:1
  • QT3 of Chinese applications manual, the official version, but it was the Chinese...
    QT3的中文应用手册,官方版,但进行了中文翻译,是学习QT的必备资料。-QT3 of Chinese applications manual, the official version, but it was the Chinese translation of the necessary information to learn QT.
    2022-05-28 08:50:18下载
    积分:1
  • applicable to QT2410E (UNITAR)
    适用于QT2410E(训研所)-手臂,变速箱VIVI可用。
    2022-03-07 07:33:29下载
    积分:1
  • 《μCOS
    《μCOS-II微小内核分析与程序设计-基于LPC2300》配套例程第三章 uCOS-II程序设计实例- ΜCOS-II micro-kernel analysis and program design- based on the LPC2300 matching routines uCOS-II Chapter III program design examples
    2022-09-14 13:10:03下载
    积分:1
  • C + +程序设计图形用户界面(GUI)的QT离散度的国际标准书号刊号:7 3 /
    《C++ GUI QT 3编程》 ISBN/ISSN:7-81077-731-9 北京航空航天大学出版社 2006 本书详细讲述了用Qt进行图形交互界面编程的各个部分。主要内容包括:入门、创建对话框、布局管理、事件处理、二维和三维图像等。 (加)JASMIN BLANCHETTE,(英)MARK SUMMERFIELD著 =====本书是使用QT3进行跨平台GUI程序开发的最佳参考书,此为配套源代码 - C++ GUI QT 3 Programming ISBN/ISSN :7-81077-731-9 Beijing University of Aeronautics and Astronautics Press 2006 book to describe in detail the use of Qt graphical interface to the various parts of programming. The main contents include: Introduction, create dialog, layout management, event handling, two-dimensional and three-dimensional images. (Plus) JASMIN BLANCHETTE, (British) MARK SUMMERFIELD forward ===== Qt3 book is the use of cross-platform GUI development the best reference books, such as matching source code
    2022-02-15 16:35:11下载
    积分:1
  • 《Linux新手指南》是供linux新手参考和查阅的书籍,内容浅显易懂,适合新接触此操作系统的人使用...
    《Linux新手指南》是供linux新手参考和查阅的书籍,内容浅显易懂,适合新接触此操作系统的人使用- Linux Newbie Guide are available for novice linux reference and access to books, the content easy to understand and suitable for contact with this new operating system to use
    2022-12-10 18:25:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载