News for hackers. Stuff that matters.
Re:Whats New in PHP 8.2 by hu3 on Monday April 25, 2022 @11:45AM (#31156504)
Fyi someone took pcntl_fork() in PHP seriously and made WorkerMan: https://github.com/walkor/workerman/blob/515ed41ac4fc51fc995...

A quick test got me 50k req/s HTTP "hello world" on my laptop.

The madlad even managed to place PHP in top 22 TechEmpower benchmark: https://i.imgur.com/6fKUpbV.png

Re:Whats New in PHP 8.2 by tgtweak on Friday April 29, 2022 @01:30PM (#31208211)
It's surprisingly fast. I think they extended it to create copy-on-write memory at fork time, which made it incredibly fast and low-overhead to fork.