Hosting applications written in Haskell: Heroku vs IaaS
<p>I'm considering the different options for hosting a web application written in Haskell. </p>

<p>Heroku seems like an attractive alternative, and it <a href="https://haskellonheroku.com/#haskell-on-heroku" rel="nofollow">supports Haskell</a>. However, as described in the <a href="https://devcenter.heroku.com/articles/runtime-principles" rel="nofollow">Heroku runtime principles</a> it is quite likely that I will need to connect the web process with some background jobs (either via a message queue, or using platforms like Cloud Haskell). Also I will need a persistence layer, and I don't know how well this is supported in Heroku when using Haskell.</p>

<p>My question is then whether Heroku supports deploying a full blown Haskell application, or a <a href="http://www.yesodweb.com/blog/2015/12/yesod-hosting-docker-kubernetes" rel="nofollow">running containers on a IaaS</a> (such as AWS or Google Computing Engine) is a better option.</p>