node.js - Management of REST services -


i have rest api different services , it's growing,built in sinatra , parts of in node js. it's going in sinatra.

how can manage efficiently rest webservices, check if down , relaunching api, monitor usage, etc? i've looked foreman, monit , god, i'm not sure 1 supported. love able manage both languages same software.

you can

  1. write simple shell script has loop of "curl" list of http endpoints , put crontab interval based checking.
  2. try collectd curl or other http related plugins periodically check responses. , can send results graphite/opentsdb persistence or visualization.

Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -