Deploy Phoenix as Windows Service

Hello. I come from a Ruby on Rails background and have gotten interested in Phoenix. Is it possible to deploy Phoenix as a Windows Service which starts automatically? Many thanks in advance.

1 Like

Yep, and this is how I’ve run it on windows for years. I think Distillery has the scripts to do that now, but otherwise it’s predecessor definitely does. :slight_smile:

1 Like

You mean deploying a Phoenix app as a Windows Service? Does performance on Windows match running same app on Linux (in regards to multi-threading)?

Performance of the code itself has always seemed on par enough for me, however the windows network stack (at least on Windows Server 2006, 2003, and NT4) absolutely blow in comparison to linux, but nothing the BEAM can do about that.

1 Like