GithubHelp home page GithubHelp logo

satnami / aither Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hemerajs/aither

0.0 1.0 0.0 6.15 MB

An example microservice system in Node.js using Hemera and best of today.

License: GNU General Public License v3.0

Dockerfile 27.92% JavaScript 56.10% Shell 15.98%

aither's Introduction

aither

aither

Aither shows an approach how to bootstrap a microservice system in Node.js with Hemera 5 and docker. You can scale your worker in seconds and because we use NATS as “nervous system" for our distributed system we do not have to worry about service-discovery or load-balancing of hemera-services. We use traefik to load-balancing the api-gateway.

This configuration will setup:

  • Hapi http server which act as api-gateway to the Hemera services.
  • Microservice which is responsible to add two numbers.
  • NATS server the underlying messaging system for Hemera.
  • Jaeger CNCF Jaeger, a Distributed Tracing System.
  • Natsboard dashboard to monitoring your NATS system in realtime.
  • Traefik modern HTTP reverse proxy and load balancer made to deploy microservices with ease.
  • Redis in memory cache for Hemera.

Versions

  • Hapi 17
  • Hemera 5

Architecture

aither

Getting started

  • Running the system docker-compose up
  • Start a request against load balancer OPEN
  • Scale the system docker-compose scale math-service=5 api=2

Dashboards

Run load test

npm install -g artillery
artillery run loadtest.yml

Print the html artillery report with artillery report <report.json>

Previews

Traefik

traefik

NATS dashboard

nats

NATS monitoring endpoint

nats-monitoring

Jaeger dashboard

jaeger

Thank you

thanks most of all to the community who create these awesome opensource software and thereby making it possible.

aither's People

Contributors

starptech avatar

Watchers

 avatar

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.