Feign实现声明式服务调用,将REST服务包装成接口,效果类似本地调用一样
实践Spring Cloud之Bus
Spring Cloud Bus links nodes of a distributed system with a lightweight message broker. This can then be used to broadcast state changes (e.g. configuration changes) or other management instructions. The only implementation currently is with an AMQP broker as the transport, but the same basic feature set (and some more depending on the transport) is on the roadmap for other transports.
实践Spring Cloud Config
实践Spring Boot Admin
实践Spring Boot Actuator
1 |
|
实践Java线程
main主线程和自定义线程(Thread
),自定义线程包括new Thread(Runnable target)
和继承Thread
实践ActiveMQ
确认模式
实践Hibernate
延时加载(lazy loading)
实践Spring Cloud之Eureka
实践Spring Cloud之Consul
Consul是一个分布式高可用的系统,它包含多个组件,但是作为一个整体,在微服务架构中为我们的基础设施提供服务发现和服务配置的工具。它包含了下面几个特性: