News for hackers. Stuff that matters.
Re:Hack: a new programming language for HHVM by Lennie on Friday March 21, 2014 @04:06AM (#7441177)
If you want to know: just checked the one project where I did a long running PHP-process.

It is a job scheduler which takes jobs from a Redis queue and executes it.

It does fork a new process for 1 type of task (image resizing in this case) to make sure it doesn't leak memory.

It also reuses these forked processes so it doesn't need to fork for every task.

It was last started on Jan. 2013 (because of maintenance) and still running fine.

The reason ? I didn't want to introduce an extra language for project for which all the server code was already written in PHP.

So if it fits the task, you can do it.

Re:Hack: a new programming language for HHVM by toast0 on Friday March 21, 2014 @12:37PM (#7443239)
Duly noted, will not be so negative on long running processes. :)