4 ms·
Tested this with a moderately complex PHP Laravel app and got a 40% speed improvement. Very useful to be able to run multiple apps each using different lang run
by Dachande663 3y ago
Tested this with a moderately complex PHP Laravel app and got a 40% speed improvement. Very useful to be able to run multiple apps each using different lang runtimes/versions without needing separate docker containers.
- dieulot 3y ago40% improvement versus what? A docker container for nginx and another one for PHP?
- Dachande663 3y agoCompared to nginx and PHP-FPM installed on a host machine. All running opcache, JIT etc. Was pleasantly surprised. Note this is up to 40%, not all apps we’ve run have seen same improvement.
- deleted 3y ago[deleted]
- sidcool 3y agoWhat were you using earlier?
- quickthrower2 3y agoSounds like a blog post in the making
- husarcik 3y agoHow does this speed improvement compare to Laravel octane with swoole? Curious if I can switch!
- Dachande663 3y agoWe tried roadrunner (similar thing), but couldn't do it without rewriting certain bits of the app (anything with globals basically) whereas unit was a straight swap. My guess would be, if you're properly using the advantages swoole can bring (like shared memory cache etc), it will outperform unit.