-
1.运行环境
centos7 Linux 3.10.0-957.el7.x86_64
php7.2.19
swoole4.3.5
yii2-basic 2.0.20
2.在开启日志功能,将日志信息写入到数据库表中时,会报下面的错误:
```php
2019-06-26 19:44:49 [192.168.134.1][-][-][warning][yii\log\Dispatcher…
-
Hi, I have two questions.
1) I trying to add yii2-swoole to my yii2 project. But I saw that you hide Yii::$container interface, and now I can't do injection before app will run, how i can do it?
2) …
-
我最近有个项目,需要用到异步,但我后来为了快速 出活,就选了yii2-redis插件,用redis来做
但我其实还有其他的事情,需要用到异步和多线程,swoole是更好的选择
今天发现这个项目,其实还有一个yii2-swoole,但那个文档写的不好。
总之,我会保持关注,等这个项目月底完事之后,好好研究一下swoole
-
非常漂亮的工作,目前各种swoole结合yii/laravel的框架有个致命的问题就是io还是同步的,这会导致qps比php-fpm还低,swoole中的业务不允许任何阻塞调用。这是第一个做到了的,可以兼容yii2成熟丰富的组建,还有性能加成,很棒。
httpclient的话swoft有一个,swoole的那个goroutine的原生client似乎没法用tcp连接池,能基于协程tcp的cl…
-
我们知道swoole只会开启n个worker,一旦代码中有阻塞那么同worker下的别的请求就回饥饿,这是不允许的。因为php-fpm可以开几百上千个,阻塞并没有问题。是否考虑把yii2的io(比如redis、db之类的)换成协程版本?
-
https://www.ddhigh.com/2019/06/18/database-n-1-solution.html
-
I have invalid route when use template advanced with use controllerNamespace like bellow :
```php
return [
'id' => 'app-frontend',
'basePath' => dirname(__DIR__),
'bootstrap' => ['lo…
-
大家如果有问题交流,发在这里吧?
-
This is great and will change PHP
Can I select another asynchronous, For example Workerman or GatewayWorker ?
Could it be simpler or could it be broken down into components like Spring just sca…
-
Class 'swoole_http_client' not found in /Users/chenxi/web/service-backend-project/vendor/hprose/hprose-swoole/src/Hprose/Swoole/Http/Transporter.php:42
![image](https://user-images.githubuserconte…