Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
hint at architecture of the different servers
  • Loading branch information
kraih committed Feb 5, 2014
1 parent d3e61cb commit f5e5d72
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/Mojolicious/Guides/Cookbook.pod
Expand Up @@ -28,7 +28,8 @@ for small to mid sized applications.

It is available to every application through the command
L<Mojolicious::Command::daemon>, which has many configuration options and is
known to work on every platform Perl works on.
known to work on every platform Perl works on with its single-process
architecture.

$ ./script/myapp daemon -h
...List of available options...
Expand All @@ -41,9 +42,9 @@ L<Mojo::Server::Daemon/"listen">.
$ ./script/myapp daemon -l https://[::]:3000
Server available at https://[::]:3000.

On UNIX platforms you can also add preforking with
L<Mojolicious::Command::prefork> to take advantage of multiple CPU cores and
copy-on-write.
On UNIX platforms you can also add preforking and switch to a multi-process
architecture with L<Mojolicious::Command::prefork>, to take advantage of
multiple CPU cores and copy-on-write.

$ ./script/myapp prefork
Server available at http://127.0.0.1:3000.
Expand Down

0 comments on commit f5e5d72

Please sign in to comment.