2017 © Pedro Peláez
 

library phalwoo

swoole server frame for phalcon

image

kakuilan/phalwoo

swoole server frame for phalcon

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 14 % Grown

The README.md

phalwoo

swoole server frame for phalcon
必须安装swoole和phalcon扩展, (*1)

测试
cd tests
phpunit ServerTest.php

php Server/bin.php start, (*2)

nginx配置
``` bash server { listen 80; root /home/wwwroot/default; server_name my.com;, (*3)

location / {
    try_files $uri $uri/ /index.php?_url=$uri&$args;
}
location ~ ^/(index)\.php(/|$) {
    proxy_set_header X-Real-IP  $remote_addr;
    proxy_set_header X-Forwarded-For $remote_addr;
    proxy_set_header Host $host;
    proxy_pass http://127.0.0.1:6666;
}

}, (*4)


部署时去掉: phalcon/ide-stubs eaglewu/swoole-ide-helper react/promise $ret->send(); $response->end($ret->getContent()); session前缀_PHCR _PHCOOKIE_ 压测性能不行,找原因: `1 redis写入问题 TODO: 定时器待优化,会导致worker err Cmponent 组件 log eventsManager 日志切割 redis长连接 db长连接 大量连接时session redis超时错误 redis/mysql连接池pop并发下出错 连接池参考Promise https://github.com/reactphp/promise https://github.com/guzzle/promises https://github.com/mkusher/reactphp-co cat-sys/cat-core Hprose\Promise Prophecy ----------------------- cron定时器基本格式 : ``` bash *  *  *  *  *   分 时 日 月 周 命令 第1列表示分钟1~59 每分钟用*或者 */1表示 第2列表示小时1~23(0表示0点) 第3列表示日期1~31 第4列表示月份1~12 第5列标识号星期0~6(0表示星期天)

abnormal exit, status=0, signal=11
signal=11 表示产生了 core dump,你需要使用 gdb 跟踪, (*5)

The Versions

21/07 2018

dev-master

9999999-dev https://github.com/kakuilan/phalwoo

swoole server frame for phalcon

  Sources   Download

MIT

The Requires

 

The Development Requires

swoole phalcon