An example microservice system using Hemera and best of today

2017/01/23

Categories: node.js Tags: poc microservice

aither

aither

Aither shows an approach how to bootstrap a microservice system with Hemera 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 carry about service-discovery or load-balancing of hemera-services. We use traefik to load-balancing the api-gateway.

This configuration will setup:

Architecture

aither

Running the system

docker-compose up

Scaling the system

docker-compose scale worker=5 api=2

Run load test

npm install -g artillery
artillery run loadtest.yml

Start a request against load balancer

http://localhost:8182/api/add?a=1&b=10

Traefik dashboard

http://localhost:8181/

NATS dashboard

http://localhost:3000/

NATS monitoring endpoint

http://localhost:8222/

Zipkin dashboard

http://localhost:9411/

Thank you

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

comments powered by Disqus