Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> One such performance improvement involved moving the logic to check a user’s enabled features into a background thread that refreshed on an interval rather than checking their enablement while the request was being processed.

This type of thing is why PHP's shared-nothing model is vastly undervalued IMO.

Does PHP have the ability to use threads if you really need it? Yes.

Are they generally a PITA to use? Yes.

Is this a problem for the vast, vast, vast majority of projects? Not in the slightest.

Having a separate invocation of the runtime for each request is a feature, not a failing.






Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: