Hacker News new | ask | show | jobs
by chrismccord 925 days ago
It starts your whole app, including the whole supervision tree, but you can turn on/off services based on whatever logic you want. I talk a bit about this in the screencast. For example, no need to start the phoenix endpoint (webserver) since we aren't serving web traffic. For the DB pool, you'd set a lower pool size or single connection in your runtime configuration based on the presence of FLAME parent or not.
1 comments

Oh cool! Thanks for the reply, haven't had time to watch the screencast yet. Looking forward to it.