这几天学习了如何建立一个微服务的系统,项目地址 -- https://github.com/zeahoo/spring-petclinic
本项目以 Spring 官方的宠物诊所的例子,在不破坏原有逻辑的基础上,为其添加一个微服务。
在旧系统中,如果要实现微服务化,最简单的方式即是在当前的大型程序中添加小的微服务程序,修改力度最小。
学习该项目的参考链接如下:
https://github.com/spring-projects/spring-petclinic
Microservices With Spring Boot - Part 1 - Getting Started
Microservices With Spring Boot - Part 2 - Creating a Forex Microservice
Microservices With Spring Boot - Part 3 - Creating Currency Conversion Microservice
Microservices With Spring Boot - Part 4 - Using Ribbon for Load Balancing
Microservices With Spring Boot - Part 5 - Using Eureka Naming Server