Skip to content

ilysokon/distributed-system-rest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distributed system via REST

The project demonstrates how to build a Resilient Distributed System which contains a set of microservices.

Flow Diagram

Motivation

In order to demonstrate how to:

  1. Implement microservices which communicate using HTTP/REST protocol
  2. Implement patterns for resilient distributed systems such as: API Gateway, Service Discovery, Circuit Breaker etc

Tooling

The following technologies are used:

  1. Spring Boot is used for implementing microservices
  2. Netflix Zuul is used for implementing Api Gateway
  3. Netflix Eureka is used for implementing Service Discovery
  4. Netflix Hystrix is used for implementing Circuit Breaker

How to run

In order to startup the whole system, you need to execute the following commands for each microservice:

  • maven clean package creates an executable jar using spring-boot-maven-plugin
  • java -jar target/*.jar runs an application

All registered microservices are available in Eureka's admin area http://localhost:8761/

All mapped routes are available via specific Zuul end-point http://localhost:8080/routes

About

Distributed system using Spring Boot and Spring Cloud Netflix

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • HTML 78.2%
  • JavaScript 19.4%
  • CSS 1.9%
  • Java 0.5%