Skip to content

Commit

Permalink
mention that blocking operations require more worker processes than n…
Browse files Browse the repository at this point in the history
…on-blocking operations
  • Loading branch information
kraih committed Jan 18, 2014
1 parent c4d59a6 commit c71e687
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/Mojo/Server/Hypnotoad.pm
Expand Up @@ -385,7 +385,8 @@ Username for worker processes.
workers => 10
Number of worker processes, defaults to C<4>. A good rule of thumb is two
worker processes per CPU core.
worker processes per CPU core for applications that perform mostly
non-blocking operations, blocking operations often require more.
=head1 METHODS
Expand Down
3 changes: 2 additions & 1 deletion lib/Mojo/Server/Prefork.pm
Expand Up @@ -462,7 +462,8 @@ Full path of process id file, defaults to a random temporary path.
$prefork = $prefork->workers(10);
Number of worker processes, defaults to C<4>. A good rule of thumb is two
worker processes per CPU core.
worker processes per CPU core for applications that perform mostly
non-blocking operations, blocking operations often require more.
=head1 METHODS
Expand Down

0 comments on commit c71e687

Please sign in to comment.