hitz/RegulomeDB — Issue #21: Switch production server type 
Author: hitz
Created: 2012-01-31 19:17:20+00:00
State: open

For production use we may want to consider using hypnotoad instead of morbo (from docs).
We should not do this before we upgrade the Mojolicious backend I don't think.

morbo ./myApp
The morbo web-server starts up, spawns a copy of itself which
uses $daemon->load_app to load the app code within the daemon.
The parent will spawn a replacement daemon when the app file
changes. Morbo is intended for development.

hypnotoad ./myApp
The hypnotoad web-server starts up, uses $daemon->load_app to
load the app code, applies the config and forks multiple copies
of itself. The pre-forking nature makes it more suitable for
production use, particularly when the USR2 signal will:
Attempt zero downtime software upgrade (hot deployment)
without losing any incoming connections