All Projects → microservices-practical → microservices-v8

microservices-practical / microservices-v8

Licence: other
Learn Microservices with Spring Boot - v8

Programming Languages

java
68154 projects - #9 most used programming language
shell
77523 projects
Batchfile
5799 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to microservices-v8

Springcloud Learning
Spring Cloud基础教程,持续连载更新中
Stars: ✭ 6,839 (+21271.88%)
Mutual labels:  spring-cloud, zuul, ribbon, eureka
Spring Cloud Learning
☁️适合刚接触微服务架构的初学者了解和学习微服务,主要集成了注册中心、服务网关、配置中心、熔断机制、应用监控。
Stars: ✭ 37 (+15.63%)
Mutual labels:  spring-cloud, zuul, ribbon, eureka
Spring Petclinic Microservices
Distributed version of Spring Petclinic built with Spring Cloud
Stars: ✭ 814 (+2443.75%)
Mutual labels:  spring-cloud, zuul, ribbon, eureka
Springcloudlearning
《史上最简单的Spring Cloud教程源码》
Stars: ✭ 16,218 (+50581.25%)
Mutual labels:  spring-cloud, zuul, ribbon, eureka
tictactoe-microservices-example
An example of Spring Cloud Microservices application based on books (see Links section)
Stars: ✭ 23 (-28.12%)
Mutual labels:  spring-cloud, zuul, ribbon, eureka
Spring Cloud
SpringCloud微服务架构,提供快速上手脚手架,快速构建高可用注册中心,高可用配置中心,加入Hystrix断路器,gateway服务官网,权限认证、服务降级、限流,加入应用监控
Stars: ✭ 130 (+306.25%)
Mutual labels:  spring-cloud, zuul, ribbon, eureka
spring-microservices
Example of a microservice architecture using Spring Cloud
Stars: ✭ 76 (+137.5%)
Mutual labels:  spring-cloud, zuul, ribbon, eureka
Mini Platform
Mini-Platform致力于更简洁易用的轻量级微服务治理平台。
Stars: ✭ 45 (+40.63%)
Mutual labels:  spring-cloud, zuul, ribbon, eureka
Sample Spring Microservices
Many samples in different branches that shows how to create microservices with Spring Boot, Spring Cloud, Zipkin, Zuul, Eureka, Hystrix, Kubernetes, Elastic Stack and many more tools
Stars: ✭ 368 (+1050%)
Mutual labels:  spring-cloud, zuul, ribbon, eureka
Sample Spring Microservices New
Demo for Spring Boot 2 and Spring Cloud microservices with distributed configuration (Spring Cloud Config), service discovery (Eureka), API gateway (Spring Cloud Gateway, Zuul), Swagger2 API documentation, logs correlation using Spring Cloud Sleuth and many more
Stars: ✭ 559 (+1646.88%)
Mutual labels:  spring-cloud, zuul, ribbon, eureka
Spring Boot Cloud
基于 Spring Boot、Spring Cloud、Spring Oauth2 和 Spring Cloud Netflix 等框架构建的微服务项目
Stars: ✭ 2,044 (+6287.5%)
Mutual labels:  spring-cloud, zuul, ribbon, eureka
Springcloudexamples
Spring Cloud 学习教程
Stars: ✭ 208 (+550%)
Mutual labels:  spring-cloud, ribbon, eureka
Advanced Java
😮 Core Interview Questions & Answers For Experienced Java(Backend) Developers | 互联网 Java 工程师进阶知识完全扫盲:涵盖高并发、分布式、高可用、微服务、海量数据处理等领域知识
Stars: ✭ 59,142 (+184718.75%)
Mutual labels:  spring-cloud, ribbon, eureka
Springcloud Shop
基于Spring Boot、Spring Cloud的微服务商城demo
Stars: ✭ 198 (+518.75%)
Mutual labels:  spring-cloud, zuul, eureka
Spring Cloud Examples
Spring Cloud 学习案例,服务发现、服务治理、链路追踪、服务监控等
Stars: ✭ 5,829 (+18115.63%)
Mutual labels:  spring-cloud, zuul, eureka
Simplemall
基于SpringCloud的微服务架构实战案例项目,以一个简单的购物流程为示例,融合spring cloud 相关组件,如spring-cloud-netflix、swagger等
Stars: ✭ 687 (+2046.88%)
Mutual labels:  spring-cloud, zuul, eureka
Spring Cloud Learning
spring-cloud, spring-cloud-alibaba, nacos, feign, ribbon, eurka, cloud-config, hystrix, seata
Stars: ✭ 18 (-43.75%)
Mutual labels:  spring-cloud, ribbon, eureka
Sample Spring Cloud Webflux
sample microservices demonstrating usage of spring reactive support with spring webflux and integration spring cloud, eureka, ribbon, spring cloud gateway, spring data jpa and mongodb
Stars: ✭ 65 (+103.13%)
Mutual labels:  spring-cloud, ribbon, eureka
Fxshop
基于SpringBoot+SpringCloud微服务的商城项目(demo版 不可用于生产)
Stars: ✭ 82 (+156.25%)
Mutual labels:  spring-cloud, ribbon, eureka
Bookstoreapp Distributed Application
Ecommerce project is being developed using Spring Boot Microservices and Spring Cloud (Backend) and React (Frontend). Splitting the Ecommerce functionality into various individual microservices so that they can be distributed, scale really well and make use of resources efficiently.
Stars: ✭ 63 (+96.88%)
Mutual labels:  spring-cloud, zuul, eureka

Learn Microservices with Spring Boot - v8

This project contains the version 8 of the application that is developed under the scope of the book Learn Microservices with Spring Boot. You can get a copy of the book on Amazon or Apress.

The book shows you how to evolve a simple Spring Boot application to become a full Microservices Architecture, using Spring Cloud Eureka, Ribbon, Zuul and Hystrix to implement Service Discovery, Load Balancing, the API Gateway pattern and a Circuit Breaker. Besides, you'll learn how to implement End-to-End tests with Cucumber, an Event-Driven system and the best practices when building Microservices.

Idea

These projects, included in Microservices-Practical repositories, illustrate how to start an application from scratch and then evolve it to become a full microservices environment.

This version introduces Load Balancing with Ribbon, configured to detect services that are down through a PingUrl and combined with an AvailabilityFilteringRule.

Contents

The repository contains five folders, one for each component of the system:

  • social-multiplication is one of the backend services. It has a REST API to get and provide results to simple multiplications. When an attempt is sent, it triggers an event.
  • gamification is the second backend service. It provides a REST API to get game stats and reacts to the event sent by the multiplication service, updating the figures.
  • service-registry is the Eureka Server, which is contacted by backend services and the gateway.
  • gateway is the Routing Service, implemented with Zuul. It connects with Eureka for service discovery, and performs load balancing with Ribbon.
  • ui contains the static files of the frontend application. It's configured to be started with Jetty.

How to execute the application

Since in this version we don't have yet scripts to do it, we need to run the applications manually. These are the instructions:

  • UI. Download and install Jetty. From the command line, execute java -jar [JETTY_HOME]/jetty-[VERSION]/start.jar (replace the values between brackets accordingly). You also need Java.
  • RabbitMQ. Download and install RabbitMQ. We use it as Event bus. When you have installed it, you need to run the RabbitMQ server (as a service or as a process, whatever you prefer).
  • Multiplication, Gamification, Service Registry and Gateway. You need to start all these services using the command line. Navigate to each folder and execute for every one of them: ./mvnw spring-boot:run. If you want to try load balancing you can execute more than one instance of the Multiplication or Gamification service. To do that, override the port number to avoid clashing: ./mvnw spring-boot:run -Drun.arguments="--server.port=A_FREE_PORT]"

Application - version 8

Do you want to know more?

If you want more details about the different application parts and how to get there from scratch, you can buy the book if you don't have it yet: Learn Microservices with Spring Boot on Amazon or Apress

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].