-
Notifications
You must be signed in to change notification settings - Fork 1
Make "async" the default server model #81
Copy link
Copy link
Closed
Labels
Description
Currently, we have the following server models:
- serve (the default): A single-threaded web server, blocks until one client's HTTP request handler has finished executing before serving the next request.
- async: Same as above, but handlers can yield control back to the server to serve other clients during lengthy operations such as file up- and downloads.
- prefork: Much like Apache, forks a given number of children to handle HTTP requests. Requires the
pcntlextension. - develop: As mentioned above, built ontop of the PHP development wenserver. Application code is recompiled and application setup performed from scratch on every request, errors and debug output are handled by the development console.
This issue suggests making async the new default for the next major release - version 3.0.0 at the time of writing.
Reactions are currently unavailable