walkor

Results 250 comments of walkor

这个不太清楚,没用过xdebug Message ID: ***@***.***>

I haven't integrated any such libraries with workman

Workerman has no option to compression message. However, you can compress the message with the following code. ```php use Workerman\Protocols\Websocket; $worker = new Worker('ws://0.0.0.0:8888'); $worker->onConnect = function($connection) { $connection->websocketType =...

Workerman has its own session management mechanism. Global variable `$_SESSION` cannot be used. The documentation on the use of session by workerman is here [workerman http session](https://www.workerman.net/doc/workerman/http/session.html) (Sorry, there are...

Yes, use Redis as Session store in Workerman the codes like this. ```php

Workerman does not implement session at present. Maybe we will try it in V5. In workman V4, we need to implement it with codes similar to the following ```php

Asynchronous session storage may cause some problems. For example, the same user initiates two requests, and the second request depends on the session of the first request. If asynchronous is...

Sorry, I can't fully understand your post. `session_regenerate_id` is expected to be supported in V5.

> can we make sessions handling faster if we increase number of workers? If there is blocked IO, the throughput can be increased by increasing the number of processes. But...

> Coming to configuring the workers, is there no way to auto-configure no. of workers triggered with workerman? or we can dynamically change no. of workers as CPU resources are...