Code Monkey home page Code Monkey logo

tinys's Introduction

tinys

一个swoole的简单实现,学习swoole源码的练习之作,目前更新到version2

version2.1 主进程创建多个reactor线程维持与客户端连接 TODO:代码结束时清理变量

version2更新: 主进程改为负责接收/发送数据给客户端 worker多进程处理逻辑,通过管道与主进程交互,不直接与客户端连接

编译扩展(需要php7)

需要指定php-config路径,本地机器为/usr/bin/php-config

```
git clone https://github.com/wosiwo/tinys.git
cd tinys
phpize
./configure -with-php-config=/usr/bin/php-config
make && make install
```

tinys's People

Contributors

wosiwo avatar xiangdong1987 avatar

Stargazers

 avatar Alex Kinhoom avatar rainyluo avatar  avatar young avatar CaesarChan avatar Ivanqi avatar 这只肥羊会飞 avatar 白云飞 avatar  avatar hooklife avatar hhd avatar codinghuang avatar jay avatar ImFantuan avatar Samuel Jie avatar  avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.