Replies: 3 comments 1 reply
-
Since octane and swoole have long running processes (with your application loaded the entire time), I'd say that is normal. |
Beta Was this translation helpful? Give feedback.
-
that is kinda the point the various Octane drivers load and parse your app into memory on startup, and then share/resuse that for multiple requests, depending on the app and things being set up correctly you would need far more FPM workers to achieve the same rps as Octane in practice i have found that in terms of raw performance, with a fast ssd i dont really feel much difference between them, but on spinning rust i dont even bother trying FPM the difference is so big also because it is keeping your app running it allows for extra things which FPM doesnt natively support like websockets / db connection pooling |
Beta Was this translation helpful? Give feedback.
-
But it doesn't apply to Franken PHP, memory usage similar to FPM |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, is that correct behaviour that Octane on Swoole uses 2-3x more ram than PHP-FPM for the same amount of workers?
Octane (Swoole):

Octane (Franken PHP):

PHP FPM:

Beta Was this translation helpful? Give feedback.
All reactions