Code Monkey home page Code Monkey logo

boreas's Introduction

boreas

boreas's People

Contributors

andrewazores avatar jiekang avatar anirudh94 avatar

Watchers

James Cloos avatar  avatar aptmac avatar

boreas's Issues

"Error: connect ECONNREFUSED" when web-layer isn't running

As described by Jie in a PR comment:

"""
I tested it without running the underlying storage api running and when a client visits the site, the server crashes:

events.js:141
throw er; // Unhandled 'error' event
^

Error: connect ECONNREFUSED 127.0.0.1:8080
at Object.exports._errnoException (util.js:907:11)
at exports._exceptionWithHostPort (util.js:930:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1077:14)

Could you handle this case as well? Either display no data, or display an error page. The server should still run and later, if the backend layer starts running, and a client visits the page again, it would work.
"""

I see this happening however when doing "npm start" in boreas/server when the boreas/web-layer is not running ("mvn exec:java"), with there not even being an opportunity for the server to come up let alone a client to visit.

Is the right fix here to have the server come up but display some error message to client connections? Or should the server perhaps just fail with a more informative error message that a key component of the backend is missing? The case where the Thermostat web-storage-service goes away is already handled relatively gracefully - it's just if boreas/web-layer is missing that this occurs.

Show jvm information

The GUI should show information on jvms monitored by thermostat agents. (process information, pid, start/stop time, user id, java information, main class, command-line arguments, jvm version, etc.)

Show host CPU usage

The GUI should show the overall CPU usage of the host machines monitored by thermostat agents.

Switch front end dependency management from Bower to Browserify+Babel

Many dependencies prefer/need commonjs style require() statements to use their api. To better accommodate we should switch from Bower to using Browserify to compile code for front end use. Babel is needed as an intermediate step to convert any jsx code for use by Browserify.

We can also easily automate this with a taskrunner like Gulp/Grunt

Show jvm heap information

The GUI should show the heap information of the jvms monitored by thermostat agents. (heap usage, heap capacity)

Show jvm memory usage

The GUI should show the overall memory usage of the jvms monitored by thermostat agents.

Show host machine information

The GUI should show information of the host machines monitored by thermostat agents. (host, hardware information, operating system, etc.

Show jvm gc information

The GUI should show the gc information of the jvms monitored by thermostat agents. (how much time each gc takes, etc.)

Show jvm CPU usage

The GUI should show the overall CPU usage of the jvms monitored by thermostat agents.

Show host memory usage

The GUI should show the overall memory usage of the host machines monitored by thermostat agents.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.