Skip to content

Make "async" the default server model #81

@thekid

Description

@thekid

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 pcntl extension.
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions