Server Runtimes & Process Management
The runtimes and supervisors that actually keep a backend process alive — Node, Bun, Deno, .NET — plus the process managers wrapped around them. Interviewers ask because 'it works on my laptop' and 'it survives production' are different problems, and the gap lives here.
on this pageshowhide
explore
- Node.jsempty
- Streams and Buffersempty
- Bunempty
- Bun Runtime APIsempty
- Bun Toolchainempty
- Denoempty
- .NETempty
- Garbage Collectionempty
- BCL & Core Librariesempty
- Generic Host & DIempty
- .NET Frameworkempty
- pm2empty
- PHP-FPM17 questions
- Worker Spawning Modes6 questions
- Pools & Web Server Wiring6 questions
- Status & Slow Logs5 questions
- Octane18 questions
- Worker Server Choices6 questions
- State Leaks Between Requests6 questions
- Concurrent Tasks & Ticks6 questions
questions
page 2 of 2In Laravel Octane's config/octane.php, what do the warm and flush arrays do, and when would you add your own binding to either?
basics
~20 swarm lists bindings Octane resolves once at worker boot, shared by later requests; flush lists bindings Octane forgets after every request, so they are rebuilt next time. Warm only stateless services; flush ones holding per-request state.
Under Laravel Octane on Swoole, how do you define and use a custom table through the tables config and Octane::table(), and what constraints does it impose?
basics
~10 sDeclare the table in config/octane.php's tables array as 'name:rows' with string:size, int or float columns, then use Octane::table('name')->set($key, [...]) and get($key). It is shared by all workers, fixed-size and lost on restart.
In Laravel Octane, what does max_execution_time in config/octane.php do, and how does each server enforce it on a slow request?
basics
~20 smax_execution_time caps how long Octane lets one request run: 30 seconds by default, 0 for no limit, fixed when the server starts. Swoole kills the stuck worker and answers 408, RoadRunner gets it as exec_ttl, FrankenPHP applies set_time_limit on Linux.
Under PHP-FPM, what does fastcgi_finish_request() do, and what are its pitfalls when used for background work?
basics
~20 sfastcgi_finish_request() sends all buffered output to the client and ends the HTTP response, while the PHP script keeps running. The worker stays busy, locks such as the session remain held, later output is lost, and the function exists only under PHP-FPM.
showing 31–35 of 35