workerman
workerman copied to clipboard
An asynchronous event driven PHP socket framework. Supports HTTP, Websocket, SSL and other custom protocols.
send() may send only part of the data, so next time (when EV_WRITE invoked), send() will close connection as it was marked as "closing". How to reproduce: download 10mb file...
Hi. Any suggestions about how i can organize shared memory between worker processes in workerman? What classes\abstractions should i use? Any analogue for std::mutex or std::lock_guard c++ mechanics? I need...
Hello @walkor On the same machine I can get up to 200k req/s for `workerman` HTTP server, however I cannot get more than `28,232` for WebSocket simple echo server! 🤔...
When I run my server normally with "php80 server/server.php start" it works fine. I have a database call in my onMessage() function: ``` $wsWorker->onMessage = function ($connection, $data) { global...
Hello @walkor What is exactly happening when I set `$eventLoopClass` to `Workerman\Events\Swoole` and use the following in `onMessage`? How come Swoole's coroutines working without issues ?! 🤔 ``` $http_worker->onMessage =...
Hi, As php 8.1 is public few weeks earlier, any plan to support fiber implementation in php 8.1? https://wiki.php.net/rfc/fibers please share your inputs thank you
How do I run it with my online apache server for testing, I can only run it on the local machine through the command line
Subj. I used `fclose(STDOUT);` but I think it's wrong way. Thanx.