Skip to content
Discussion options

You must be logged in to vote

The worker script is run in a loop. When it's done, it just starts again. During each run, the worker script handles an amount of requests through calling frankenphp_handle_request in another loop. The amount of requests is usually limited to reduce the impact of potential memory leaks.

-> worker script starts
-> worker script encounters `frankenphp_handle_request` and waits for a request
-> worker script receives a request and handles it
-> worker script encounters `frankenphp_handle_request` and waits for a request
.....
.....
-> worker script has reach max amount of requests
-> worker script finishes
-> worker script starts
-> worker script encounters `frankenphp_handle_request` and wa…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@aszenz
Comment options

@AlliBalliBaba
Comment options

Answer selected by aszenz
@aszenz
Comment options

@AlliBalliBaba
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants