> I've had to take this project offline!
> I was expecting it to be abused and violated, but was completely naive to what the internet people were capable of.
> Wow. That's all I can say. It was fun while it lasted, and it'll be back... some time.
I guess it became a test that, as expected, part of the human race failed.
wss://www.walloftext.art/ws.php
Doesn't seem to be accepting connections when I try.
Out of curiosity, were you actually handling each WebSocket connection using an independent PHP-FPM instance? If so (wow), how many concurrent connections did you manage to sustain at peak?
The only experience I've had using WebSockets with PHP is with using stream_socket_server() et al, and then multiplexing everything. (Then you just get handed the problem of restarting the server(s) to keep runaway GC in check...)
Edit: Have realized you aren't OP - but that's fine, I'm interested to hear war stories from multiple sources!
I should've just gone and looked at the code before piping up... and I'm really glad I finally did, because I honestly have to say I'm learning a lot from how succinct this is (while still incorporating PHP 8.x type boilerplate, which I can't deny is an excellent habit to get into!) - I still have How Do I Even Structure This syndrome despite tinkering around for a good decade sadly.
Looking forward to seeing this back online.
If you put it behind a simple account system, only a limited subset of people would be able to access it, and you could tinker and iterate with a real-world user base.
I'm still curious what led to you shutting it down. Something overstepped a boundary, I'm presuming; depending on what that was I might not want to know exact specifics :<