Giter Club home page Giter Club logo

ahub's Introduction

Introduction

AHUB is a framework for deploying analytical application inside docker containers.

alt

The framework aims at providing a unified approach to run scripts in any language (R, Python, etc...) while offering common services for most deployment scenarios:

  • a graphical user interface
  • access control (via Basic Auth, Active Directory or AAD)
  • process management and logging functionality
  • easy scalability

Getting Started

For running the demo environment you need to install docker. Please follow the official guide on the docker homepage.

Install Docker!

Once docker is running (make sure it is configured to run "Linux containers"), you can run the demo on bash or powershell with the following command (when in the cloned main folder).

docker stack deploy -c .\docker-compose.yml ahub

Alternatively on Windows you can just use the Powershell script deploy.ps in the main folder.

The docker daemon then loads all images from the public image registry at docker hub and starts all services.

You can test the deployed application at http://localhost/ to access the GUI. As the SSL certificate if self-signed, you need to skip the browser warning.

SSL warning

The user credentials for the basic authentication are:

Username: ahub

Password: ilikebigwhales

Graphical UI

Node 1 and Node 2 have dummy processes implemented:

  • A thread process: runtime 1 sec (this could be scoring of a trained model)
  • A batch prochess: runtime 20 seconds (this could be the training of a model)

Important to note is, that the API for the batch process is implemented responsively, meaning, that while the process is running you can repeatedly trigger the API and get a response with the current process status.

Node 3 provides an interactive timeseries forecast plot (with the prophet library) which is then displayed by the GUI.

Each individual analytical node can also be accessed directly (without GUI) at:

This demonstrates how another application or a scheduler would access the node functionalities.

Build and Test

TODO

Contribute

Please get in contact with me at mailto:[email protected] if you are interested in contributing.

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.