4 ms·
at least request contexts in http php apps are isolated; memory lives and dies per request, which is more than can be said for java web applications.
by rozap 11y ago
at least request contexts in http php apps are isolated; memory lives and dies per request, which is more than can be said for java web applications.
- encoderer 11y agoThat is not a virtue. Java (And ruby, and python, and ASP.Net) get faster when they warm up.
- rozap 11y agoor they leak memory. or a heavy request generates gc activity which impacts other requests. i've seen site outages in large companies due to these sorts of bugs. multiple times. this is a major set of problems that you avoid by having a memory model that fits the domain (http services). php sort of did it by accident, but it works. BEAM gets this right as well.
- encoderer 11y agoThat is a possible failure mode, but if it's standard practice in the systems you're touching you've had some bad luck?