eduardomioto / m2csea-engine

Multicriteria Microservice Criticality Suggestion for Established Architectures - Engine Module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

M2CSEA - Engine Module

Introduction

Technologies Involved

Framework Description
Consul Service Discovery
Docker Containerization
Sample Apps Spring Boot + Spring Cloud + Actuator + Rest Template + SLF4J
Neo4J Graph based visualization)
D3 or other Advanced Visualization
Sleuth + Zipkin Distributed Tracing Solution
Phases

Pivotal Tracker - Project Planning

Phase Objective Status
Phase 1 Demonstrate Key Nodes on a microservice simplified infrastructure Done
Phase 2 View Key Nodes Plotted Planned
Phase 3 Estabilish the Visualizer Planned
Phase 4 3D Visualization Planned
Installing

### Python and PIP
sudo apt-get install python-pip python-dev build-essential 

### Docker
sudo apt-get update
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
sudo apt-add-repository 'deb https://apt.dockerproject.org/repo ubuntu-xenial main'
sudo apt-get update
sudo apt-cache policy docker-engine
sudo apt-get install -y docker-engine
sudo systemctl status docker

### Docker Compose
sudo pip install docker-compose

### Java
sudo cp -r jdk-8u20-linux-x64.tar.gz /usr/local/java/
cd /usr/local/java
sudo tar xvzf jdk-8u20-linux-x64.tar.gz
export JAVA_HOME=/usr/local/java/jdk1.8.0_20
export PATH=$JAVA_HOME/bin:$PATH

### Maven
sudo apt-get install maven
mvn -version
Running

cd microservice-critical-path/containers/compose
sudo ./docker-compose.sh
Accessing

Service URL
Consul http://localhost:8500/ui/#/dc1/services
Neo4J http://localhost:7474/browser/
Zipkin http://localhost:9411/zipkin/
Finder http://localhost:9090/zipkin/
Next Steps

  • Criticidade por número de conexões incoming e outgoing
  • Criticidade por número de interfaces providas (Pode ser uado direto do Finder verificando o Actuator [http://www.baeldung.com/spring-boot-actuators])
  • Criticidade por consumo de recursos computacionais e proximidade com ponto de falha
  • Criticidade considerando os 3 itens acima em conjunto
  • Criticidade por input manual do usuario
References

Issues

  • Fix Dynamic Mapping on Nginx from Finder-View to locate Finder project
  • Fix Dynamic Mapping on NodeJS projects to locate Consul
  • https://zipkin.io/zipkin-api/#/

About

Multicriteria Microservice Criticality Suggestion for Established Architectures - Engine Module

License:Apache License 2.0


Languages

Language:JavaScript 98.1%Language:HTML 1.4%Language:CSS 0.2%Language:Shell 0.2%Language:Dockerfile 0.2%Language:Batchfile 0.0%