爱意满满的作品展示区。
oncewosiwo

去年阅读 swoole 源码,并按照思路写了一个简单的实现

  •  
  •   oncewosiwo ·
    wosiwo · Sep 25, 2018 · 2610 views
    This topic created in 2815 days ago, the information mentioned may be changed or developed.

    网络服务部分,epoll 实现案例主进程监听,多线程读取,多个 worker 进程执行,最后由 reactor 线程 write 给客户端的完整实现,可以用来对 swoole 服务化部分核心逻辑的快速了解

    2 replies    2018-10-29 16:27:37 +08:00
    nicoljiang
        1
    nicoljiang  
    PRO
       Oct 8, 2018
    方便介绍一下用法嘛?还有,相比 swoole 能做到什么,不能做到什么,足够稳定了么?
    oncewosiwo
        2
    oncewosiwo  
    OP
       Oct 29, 2018
    @nicoljiang 是 swoole 的一个子集把,这个还不建议生成环境使用,主要是学习交流用,可以配合我写的文档比较快的了解 swoole 的内部实现
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5433 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 07:51 · PVG 15:51 · LAX 00:51 · JFK 03:51
    ♥ Do have faith in what you're doing.