3 ms·
Websockets are nice, but don't really fit into PHP's architecture around short lived requests. Sure, for most parts PHP can handle that, but for long running t
by johannes1234321 7y ago
Websockets are nice, but don't really fit into PHP's architecture around short lived requests.
Sure, for most parts PHP can handle that, but for long running things some I/O event based context switching typically is more efficient and in a few error cases PHP deferrs cleanup to "request shutdown" which might be a while out with websockets.
In the end PHP is focussed on one role (serving "normal" HTTP requests in isolated contexts quickly) and other technologies do other things better. And I think focus is a good thing.
Then again: PHP is open and does whatever the contributors want it to do and I myself am not actively contributing much anymore :)