Code Monkey home page Code Monkey logo

highfin's People

Contributors

yoavgivati avatar

highfin's Issues

Fishtank lingering project execs

there's an issue with guppy run fishtank where sometimes the port the salmon app uses will remain blocked when fishtank is relaunched. This only happens on filechange when guppy relaunches fishtank. guppy hasn't released the port back to the os so the salmon app can't bind to it.

Saving a file too frequently eg: 10 times in 10 seconds

reproduce: Saving a file too frequently eg: 10 times in 10 seconds, sometimes happens when you make a series of micro edits in a file and hit command+s between each one. If the timing is not too fast and not too slow it can cause guppy to drastically slow down and appear stuck while "Installing..." is printed in the console for every save.

issue: multiple go processes are spun up consuming cpu and ram for each install os.exec. Eventually it will either finish, or those go procs will crash / out of ram causing unexpected behaviour.

solution: If it's in the middle of installing, it should not trigger anymore installs until it finishes.
once the initial install is complete if there's another one waiting it should not run the apps, but rather run one final install so that the latest code is installed and then run the apps.

mount coral with NFS, scale with GlusterFS

Fishtank can simply ln the /data folder for a project into instance folders.
aquatic can mount the /data folder via nfs. and use GlusterFS for scaling,striping,sharding,etc. data

Logging/monitoring dashboard

some kind of http dashboard, requires project credentials. either over http or ssh. might be able to re-use existing keys.

  • maybe guppy connects directly to fishtanks stdout/stderr
  • or http page with an iframe that streams fishtank's stdout/err
  • fishtank asks for credentials if not already set.
  • credentials would be server bound, not project bound.

needs to keep track of:

  • stdout/stderr as long
  • critical past events. fishtank should maintian a log file containing
  • any permanently down apps. ie: 10 failures in 15 seconds we stop trying to restart it
  • which apps are reachable via http and their lan response time (separate json response/server handler)

Email alerts

send an email to sysadmin when app exec exits too frequently

relative less folder

less compilation only works if you run ./guppy run with a guppy binary in the /vagrant root directory. if you just do guppy run less relative paths are off and can't be found.

all relative paths should be from the -.json directory not the guppy binary dir

Fishtank node.js versions

when installing a node.js version we don't need some of the npm libraries that guppy needs. need to update the shared node lib to support both use cases.

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.