-
Hi,
Env :
CentOs 7.5
Swoole 4.1.0
I'm use @matyhtf 's demo to test publish/subscribe message from redis forward to websocket client:
```
$server = new swoole_websocket_server("0.0.0.0", 9…
-
I have done many things in my life as a programmer. There were several languages for bare system programming to do things more powerful than usal, cleaner, smaller, with better maintenance.
But, th…
ghost updated
5 years ago
-
Short Question - i have no experience with, but does someone know the if and how about using ArangoDB with swoole? Or future plans from swoole?
ghost updated
6 years ago
-
Whats the right way to **include(_filename_);** from _ramfs/disk_ in the following code?
```php
```
I need **include(_filename_);** (_because it parses the file as PHP and so on_) - and i nee…
ghost updated
6 years ago
-
I try to write a console script which will execute functions in coroutines and use channel to collect data from them. How can i use it outside server (http, udp, websocket etc)? I want that script uti…
ghost updated
6 years ago
-
Please answer these questions before submitting your issue. Thanks!
1. What did you do? If possible, provide a recipe for reproducing the error.
swoole_coroutine::writeFile
2. What did you ex…
-
Hi
It is possible to create a SWOOLE_PROCESS in another SWOOLE_PROCESS? :)
It creates everything ok, but it works in the same Process... :(
-
If the test server's CPU has 40 cores,
I think the "max_children" should adjust to 40 or 60.
In other words, the number of PHP-FPM processes ,
should be one and a half times as more as CPU core…
-
before, it return -1
```
$this->server->on('WorkerStart', array($this, 'onWorkerStart'));
$this->server->on('request', array($this, 'onRequest'));
public function onWorkerS…
-
Is there any plan to use yield and promise to avoid callback hell in swoole?