invoker
invoker copied to clipboard
Automatically start processes when you visit a URL
It would be nice if invoker could automatically start processes when a URL is visited, much like how pow automatically starts rails applications.
So unlike pow
invoker manages processes without urls as well (such as sidekiq etc). So do we propose this feature should only work for processes which are http/s in nature?
what if invoker itself is not running? in this case invoker won't be listening on port 80, and it can't start corresponding rails app if foo.dev is visited.
this feature makes more sense if invoker is running as a daemon.
It also makes less Invoker less resource hungry I guess, because it won't be starting the processes until they are accessed. This is partly doable through, disable_autorun
flag though.
:+1: and would be nice to have processes automatically terminated after 15 minutes of inactivity
p.s. another POW user here, lol
yes, thats mainly for the web processes, however stopping entire App (as per Procfile) still makes sense as well
on other hands, I believe, processes could be monitored and stopped by the external process manager (script) once auto-start by URL is ready