Skip to content

Abdallah-Youssef/microservices-performance-testing

Repository files navigation

spring-boot-microservices

In this project, multiple microservices communicate with each other to provide the backend services of a minimalistic/sample movie rating application similar to IMDB.

Technologies

  • Spring Boot
  • Spring Cloud Eureka (Service Discovery)
  • Spring Cloud Hystrix (Dashboard, Circuit Breaker pattern, Bulkhead pattern)

Summary

  • MovieInfoService provides the movie info by sending requests to TheMovieDB API.
  • RatingsDataService provides the user's ratings for movies.
  • MovieCatalogService acts as an accumulator that gets data from RatingsDataService and MovieInfoService to present it.
  • DiscoveryServer is the Eureka server for service discovery.
  • gRPC grpcurl --plaintext -d "{}" localhost:9090 com.hambola.MyService/GetTrendingMovies

Screen Shot 2021-09-23 at 16 48 57

Running

1- First create the network: docker network create --driver bridge project
2- Start up the database, see the README in the mysql directory
3- Start up the services:

Running docker compose up will build images for all the services and start them all up. Initially it will take some time to download the base image and run mvnw install, but after that everything will be cached (until you change the code, then mvnw install will rerun).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors