Run Rails app with multiple workers in development

Posted . Visible to the public.

Gemfile

gem puma

Command-Line

$ bundle install

$ puma -t <x>:<y> -w <z>

Options

<x> ==> minimum number of threads (default: 0)

<y> ==> maximum number of threads (default: 16)

<z> ==> number of workers (defaullt ?)

Philipp Antar
Posted by Philipp Antar to Distribusion IT (2014-09-11 08:19)