invoker icon indicating copy to clipboard operation
invoker copied to clipboard

Automatically start processes when you visit a URL

Open dlee opened this issue 9 years ago • 6 comments

It would be nice if invoker could automatically start processes when a URL is visited, much like how pow automatically starts rails applications.

dlee avatar Feb 25 '15 01:02 dlee

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?

gnufied avatar Mar 26 '15 14:03 gnufied

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.

iffyuva avatar Mar 26 '15 15:03 iffyuva

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.

gnufied avatar Mar 26 '15 15:03 gnufied

:+1: and would be nice to have processes automatically terminated after 15 minutes of inactivity

p.s. another POW user here, lol

yevgenko avatar Jul 23 '15 09:07 yevgenko

yes, thats mainly for the web processes, however stopping entire App (as per Procfile) still makes sense as well

yevgenko avatar Jul 23 '15 10:07 yevgenko

on other hands, I believe, processes could be monitored and stopped by the external process manager (script) once auto-start by URL is ready

yevgenko avatar Jul 23 '15 10:07 yevgenko