3 ms·
It's funny you say that. I was toying with PHP not long ago and managed to squeze 50k requests per second on an old server using a pure php server library calle
by hu3 5y ago
It's funny you say that. I was toying with PHP not long ago and managed to squeze 50k requests per second on an old server using a pure php server library called Workerman.
And by squeze I mean copy 30 lines or so from their hello world tutorial and run: php start.php
- exikyut 5y agoI reimplemented the speedtest.net backend for fun a number of years ago, right around when it was transitioning from Flash to HTML5 and offered both. I used a PHP process running in the background using stream_socket_server(). IIRC my computer had a 5Gbps connection to localhost using HTML5, and fractionally less using Flash :> ...which meant that PHP was writing to the web browser at 5Gbps.