4 ms·
Thanks for the answer. So you would turn on Frankens worker mode to sit on top of Laravel Octanes workers? My understanding is that Franken keeps the app runn
by thomasfromcdnjs 2y ago
Thanks for the answer.
So you would turn on Frankens worker mode to sit on top of Laravel Octanes workers?
My understanding is that Franken keeps the app running so Laravel wouldn't need to restart anyway?
- francislavoie 2y agoNo, you use Octane to run FrankenPHP. Octane will download and run FrankenPHP for you. FrankenPHP is a program which has a webserver (Caddy) and PHP built-in, and worker mode allows it to run a pool of workers which have your Laravel app bootstrapped (all your service providers, middleware, controllers ready to go in memory) and then FrankenPHP feeds it requests as they come in.
- kuekacang 2y agoTo add, octane does a trick that, frow what i grasp from reading the source, it cap for a total of n request (200?) and kill the worker to preemptively free up ram