https://github.com/elfn/spring-cloud-microservices_old-features
Currency calculation implementation through Microservices architecture Design pattern
https://github.com/elfn/spring-cloud-microservices_old-features
Last synced: over 1 year ago
JSON representation
Currency calculation implementation through Microservices architecture Design pattern
- Host: GitHub
- URL: https://github.com/elfn/spring-cloud-microservices_old-features
- Owner: Elfn
- Created: 2020-10-24T11:49:53.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-04-12T12:04:10.000Z (over 4 years ago)
- Last Synced: 2025-02-07T14:22:54.603Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 1.13 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Docs/README.md
Awesome Lists containing this project
README
# SPRING-MICROSERVICES
mvn spring-boot:run -Drun.jvmArguments='-Dserver.port=8088'
Config server => Used to centrilized all MS configs
##-----------DYNAMIC SCALE UP AND DCALE DOWN---------------------
Naming server => Has 2 main features MS registration, and MS discovery
Ribbon => Used to load balancing between MS instances
Feign => Used as mecanism to create restful clients
##-----------VISIBILITY AND MONITORING---------------------
Zipkin, Sleuth => Used for distributed tracing
NETFLIX api gateway => Used as Architecture gateway
##-----------FAULT TOLERANCE---------------------
Hystrix => Used to configure default response if a service is down
##------------------How I created that architecture------------
1 - Setting up Limit MS
2 - Setting up config server
3 - Setting up git local repository(To be linked with config server for centralize MS configs)
4 - Setting up currency exchange service
5 - Setting up currency conversion service
6 - Setting up Eureka server
Lauching order
1-Eureka naming server(mvn spring-boot:run)
2-Zipkin tracing distributed server(RABBIT_URI=amqp://localhost java -jar zipkin.jar)
3-Currency conversion and exchange microservices(mvn spring-boot:run)
4-Netflix zuul api-gateway server(mvn spring-boot:run)
SLEUTH => Is a library that allows distributing tracing by
giving a unique ID to a request
https://zipkin.io/pages/quickstart
Make Zipkin listen RABBITMQ To trace requests
RABBIT_URI=amqp://localhost java -jar zipkin.jar
//Eureka
http://localhost:8761/