3 ms·
But practically speaking you can’t though. You’re not starting a new java process on every request because the overhead is too big, and you can’t fully reset th
by Joeri 8y ago
But practically speaking you can’t though. You’re not starting a new java process on every request because the overhead is too big, and you can’t fully reset the jvm state for every request.
PHP with fastcgi reliably and quickly resets the php process to freshly launched state after every request, and very few languages can manage that trick in a production context.
- ukblewis 8y ago<3
- attrezzarturo 8y agoPractically speaking it's done a lot. Even outside of web development. For example Gradle (a java build system) runs a daemon that hosts a bunch of tasks that run and die. Docker does it with images. The browser does it with tabs. Php achieves it with the help of server components. That is fine, but I wouldn't advertise it as a feature.
- jamespo 8y agoStarting a new docker instance for each http request is an interesting approach